Bug 2324332 (CVE-2024-50148) - CVE-2024-50148 kernel: Bluetooth: bnep: fix wild-memory-access in proto_unregister
Summary: CVE-2024-50148 kernel: Bluetooth: bnep: fix wild-memory-access in proto_unreg...
Keywords:
Status: NEW
Alias: CVE-2024-50148
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2324387
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-07 10:02 UTC by OSIDB Bzimport
Modified: 2025-04-25 17:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2025:0001 0 None None None 2025-01-01 07:23:44 UTC
Red Hat Product Errata RHSA-2024:11486 0 None None None 2024-12-19 00:43:26 UTC

Description OSIDB Bzimport 2024-11-07 10:02:25 UTC
In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: bnep: fix wild-memory-access in proto_unregister

There's issue as follows:
  KASAN: maybe wild-memory-access in range [0xdead...108-0xdead...10f]
  CPU: 3 UID: 0 PID: 2805 Comm: rmmod Tainted: G        W
  RIP: 0010:proto_unregister+0xee/0x400
  Call Trace:
   <TASK>
   __do_sys_delete_module+0x318/0x580
   do_syscall_64+0xc1/0x1d0
   entry_SYSCALL_64_after_hwframe+0x77/0x7f

As bnep_init() ignore bnep_sock_init()'s return value, and bnep_sock_init()
will cleanup all resource. Then when remove bnep module will call
bnep_sock_cleanup() to cleanup sock's resource.
To solve above issue just return bnep_sock_init()'s return value in
bnep_exit().

Comment 2 errata-xmlrpc 2024-12-19 00:43:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:11486 https://access.redhat.com/errata/RHSA-2024:11486


Note You need to log in before you can comment on or make changes to this bug.