Bug 1219609 (CVE-2024-24858) - VUL-0: CVE-2024-24858: kernel-source,kernel-source-azure,kernel-source-rt: race condition net/bluetooth in {conn,adv}_{min,max}_interval_set() function
Summary: VUL-0: CVE-2024-24858: kernel-source,kernel-source-azure,kernel-source-rt: ra...
Status: RESOLVED FIXED
Alias: CVE-2024-24858
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/393024/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-24858:5.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-06 09:15 UTC by SMASH SMASH
Modified: 2024-07-03 13:41 UTC (History)
7 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-06 09:15:53 UTC
A race condition was found in the Linux kernel's net/bluetooth in {conn,adv}_{min,max}_interval_set() function. This can result in I2cap connection or broadcast abnormality issue, possibly leading to denial of service.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-24858
https://www.cve.org/CVERecord?id=CVE-2024-24858
https://bugzilla.openanolis.cn/show_bug.cgi?id=8154
Comment 1 Carlos López 2024-02-08 08:44:59 UTC
Patch (not merged yet):
https://marc.info/?l=linux-bluetooth&m=170326157825132&w=2
Comment 2 Thomas Leroy 2024-02-09 09:02:05 UTC
If the Fixes commit mentioned in the current patch is correct, the following will be affected:
- SLE15-SP6
- cve/linux-4.12
- cve/linux-4.4
- cve/linux-5.14
- cve/linux-5.3
- stable
Comment 3 Lidong Zhong 2024-03-25 13:23:07 UTC
The offending commit is:

commit 18f81241b74fb49d576c83fbbab9a0b6e3bb20d4
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Sat Jan 25 09:19:51 2020 +0100

    Bluetooth: Move {min,max}_key_size debugfs into hci_debugfs_create_le

which is introduced in v5.10-rc1. So older kernel versions should not be affected.
If I didn't make a mistake here, please update the page accordingly.
https://www.suse.com/security/cve/CVE-2024-24858.html
Comment 4 Lidong Zhong 2024-03-27 03:14:59 UTC
Please ignore my previous comment. The patch submitter sent a series of patches to upstream and only one of them is merged into mainline. I thought it's for this CVE but it turns out not.
The problem is we have a customer requesting the fix for SLE12SP5 now. I wonder if we can provide PTF based on the patch in comment 1.
Comment 6 Takashi Iwai 2024-04-04 07:06:30 UTC
AFAIK, all SLE releases don't enable CONFIG_BT_DEBUGFS, hence we aren't affected.
Comment 7 Andrea Mattiazzo 2024-07-03 13:41:04 UTC
All done, closing.