CVE-2024-49938
MediumIn the Linux kernel, the following vulnerability has been resolved: wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit Syzbot points out that skb_trim() has a sanity check on the existing length of the skb, which can be uninitialised in some error paths. The intent here is clearly just to reset the length to zero before resubmitting, so switch to calling __skb_set_length(skb, 0) directly. In addition, __skb_set_length() already contains a call to skb_reset_tail_pointer(), so remove the redundant call. The syzbot report came from ath9k_hif_usb_reg_in_cb(), but there's a similar usage of skb_trim() in ath9k_hif_usb_rx_cb(), change both while we're at it.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-824CVE-2024-49938 is a Access of Uninitialized Pointer vulnerability
What is Access of Uninitialized Pointer?
The product accesses or uses a pointer that has not been initialised, leading to undefined behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
2.6.35
and later are affected. Fixed in
4.19.323,
5.4.285,
5.10.227,
5.15.168,
6.1.113,
6.6.55,
6.10.14,
6.11.3,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-49938 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/012ae530afa0785102360de452745d33c99a321b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2c230210ec0ae6ed08306ac70dc21c24b817bb95
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6a875220670475d9247e576c15dc29823100a4e4
Frequently asked questions
-
What is CVE-2024-49938?
CVE-2024-49938 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Access of Uninitialized Pointer flaw (CWE-824) . It affects Linux kernel versions from 2.6.35 onward and has been patched in 4.19.323, 5.4.285, 5.10.227 and others. CVE-2024-49938 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-49938?
CVE-2024-49938 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-49938?
Yes — CVE-2024-49938 has been patched. Fixed versions include 4.19.323, 5.4.285, 5.10.227 and others. If you are running Linux kernel 2.6.35 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-49938 actively exploited?
No — CVE-2024-49938 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Access of Uninitialized Pointer (CWE-824)?
The product accesses or uses a pointer that has not been initialised, leading to undefined behaviour. View CWE-824 on MITRE CWE →