summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorAurelien DESBRIERES <aurelien@hackers.camp>2026-04-21 15:53:31 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-05-06 16:21:43 -0400
commit902fe40bce7059722f7ffa1c378e577675cf1918 (patch)
tree2061022d61838d5efa946ef0aa3596c9df67a1fa /scripts/objdiff
parent5917dd39db2bfc8b1b4c6ea8ed99adb4badef707 (diff)
Bluetooth: hci_uart: Fix NULL deref in recv callbacks when priv is uninitialized
When a fault is injected during hci_uart line discipline setup, the proto open() callback may fail leaving hu->priv as NULL. A subsequent TIOCSTI ioctl can trigger the recv() callback before priv is initialized, causing a NULL pointer dereference. Fix all four affected HCI UART protocol drivers by adding a NULL check on hu->priv at the start of their recv() callbacks: h4, h5, ath and bcsp. Reported-by: syzbot+ff30eeab8e07b37d524e@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=ff30eeab8e07b37d524e Signed-off-by: Aurelien DESBRIERES <aurelien@hackers.camp> Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions