summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJeffin Philip <jeffinphilip14@gmail.com>2026-09-04 18:44:37 +0530
committerLeon Romanovsky <leon@kernel.org>2026-09-06 05:14:38 -0400
commit33fb59da49c4c3f5c2ec9f9d4447a56857a02c02 (patch)
tree0c903ae2f0e432e1d978132a67744bda42d528cb /scripts/Makefile.thinlto
parent9a141d3dc869d18b2eab35e999f4790a9b84e40f (diff)
downloadlinux-33fb59da49c4c3f5c2ec9f9d4447a56857a02c02.tar.gz
linux-33fb59da49c4c3f5c2ec9f9d4447a56857a02c02.zip
RDMA/core: fix refcount bug in iwpm_get_nlmsg_request()
iwpm_get_nlmsg_request() initializes refcount _after_ list_add_tail() making it accessible to global list where another CPU can kref_get() on nlmsg_request causing a refcount "addition on 0" bug. Fix this by initializing kref _before_ list_add_tail() so refcount for nlmsg_request can be incremented/decremented normally. In addition, also initialize every field before list_add_tail(). Reported-by: syzbot+bd317784d628820741b5@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=bd317784d628820741b5 Fixes: 30dc5e63d6a5 ("RDMA/core: Add support for iWARP Port Mapper user space service") Cc: stable@vger.kernel.org Signed-off-by: Jeffin Philip <jeffinphilip14@gmail.com> Link: https://patch.msgid.link/20260904131437.12917-1-jeffinphilip14@gmail.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions