VDB

CVE-2024-49982

CVE-2024-49982 PUBLISHED CVSS 8.8 HIGH

aoe: fix the potential use-after-free problem in more places

Reported by linux · Published October 21, 2024

In 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.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxad80c34944d7175fa1f5c7a55066020002921a99, 1a54aa506b3b2f31496731039e49778f54eee881, faf0b4c5e00bb680e8e43ac936df24d3f48c8e65
LinuxLinux6.9, 0, 4.19.323
linuxlinux_kernel5.10.214, 6.7.11, 6.6.23
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
LinuxLinux6.8.2, 6.6.23, 6.7.11
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
SiemensRUGGEDCOM RST2428P0

Timeline

  • Oct 21, 2024 CVE Published
  • Oct 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 22, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 2, 2026 Security Advisory (449 in total, the first dated here)
  • Jan 2, 2026 CVE Updated
  • Mar 30, 2026 Distribution Patch (381 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-49982
vulnetix vdb fixes CVE-2024-49982

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-49982/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›