CVE-2024-49982
HighIn the Linux kernel, the following vulnerability has been resolved: aoe: fix the potential use-after-free problem in more places For fixing CVE-2023-6270, f98364e92662 ("aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts") makes tx() calling dev_put() instead of doing in aoecmd_cfg_pkts(). It avoids that the tx() runs into use-after-free. Then Nicolai Stange found more places in aoe have potential use-after-free problem with tx(). e.g. revalidate(), aoecmd_ata_rw(), resend(), probe() and aoecmd_cfg_rsp(). Those functions also use aoenet_xmit() to push packet to tx queue. So they should also use dev_hold() to increase the refcnt of skb->dev. On the other hand, moving dev_put() to tx() causes that the refcnt of skb->dev be reduced to a negative value, because corresponding dev_hold() are not called in revalidate(), aoecmd_ata_rw(), resend(), probe(), and aoecmd_cfg_rsp(). This patch fixed this issue.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2024-49982 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.19.311,
5.4.273,
5.10.214,
5.15.153,
6.1.83,
6.6.23,
6.7.11,
6.8.2,
6.9
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-49982 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/07b418d50ccbbca7e5d87a3a0d41d436cefebf79
-
PatchKernel patch commithttps://git.kernel.org/stable/c/12f7b89dd72b25da4eeaa22097877963cad6418e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6d6e54fc71ad1ab0a87047fd9c211e75d86084a3
Frequently asked questions
-
What is CVE-2024-49982?
CVE-2024-49982 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 4.19.311 onward and has been patched in 4.19.323, 5.4.285, 5.10.227 and others. CVE-2024-49982 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-49982?
CVE-2024-49982 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-49982?
Yes — CVE-2024-49982 has been patched. Fixed versions include 4.19.323, 5.4.285, 5.10.227 and others. If you are running Linux kernel 4.19.311 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-49982 actively exploited?
No — CVE-2024-49982 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →