CVE-2024-49982 aoe: fix the potential use-after-free problem in more places
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
Description
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.
Upgrade path
16 packages: 16 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.115-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +27 more | 6.1.115-1 | Fixed |
| debian/linux(Debian 13) | < 6.11.4-1 | 6.11.4-1 | Fixed |
| debian/linux(Debian 14) | < 6.11.4-1 | 6.11.4-1 | Fixed |
| Linux kernel | < 4.19.323; < 5.4.285; < 5.10.227; < 5.15.168 +31 more | 4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.55, 6.8, 6.8.2, 6.9, 6.10.14, 6.11.3, 6.12, 6d6e54fc71ad1ab0a87047fd9c211e75d86084a3, 07b418d50ccbbca7e5d87a3a0d41d436cefebf79, 12f7b89dd72b25da4eeaa22097877963cad6418e, 89d9a69ae0c667e4d9d028028e2dcc837bae626f, 8253a60c89ec35c8f36fb2cc08cdf854c7a3eb58, a786265aecf39015418e4f930cc1c14603a01490, acc5103a0a8c200a52af7d732c36a8477436a3d3, bc2cbf7525ac288e07d465f5a1d8cb8fb9599254, f63461af2c1a86af4217910e47a5c46e3372e645 | Fixed |
| Microsoft azure linux | < 6.6.57.1-2 | 6.6.57.1-2 | Fixed |
| Siemens RUGGEDCOM RST2428P | < V3.2 | V3.2 | Fixed |
| Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.2 | V3.2 | Fixed |
| Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.2 | V3.2 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-127.137 | 5.15.0-127.137 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-54.56 | 6.8.0-54.56 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1070.75 | 5.15.0-1070.75 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1066.69 | 5.15.0-1066.69 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1019.23 | 6.8.0-1019.23 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 6.6.57.1-2 | 6.6.57.1-2 |
| debian/linux(Debian:12) | < 6.1.115-1 | 6.1.115-1 |
| debian/linux(Debian:12) | = 6.1.106-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.112-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
Show 55 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.98-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.99-1 | No fix listed |
| debian/linux(Debian:13) | < 6.11.4-1 | 6.11.4-1 |
| debian/linux(Debian:14) | < 6.11.4-1 | 6.11.4-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-127.137 | 5.15.0-127.137 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1070.75 | 5.15.0-1070.75 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1066.69 | 5.15.0-1066.69 |
| Linux kernel | >= ad80c34944d7175fa1f5c7a55066020002921a99, < 12f7b89dd72b25da4eeaa22097877963cad6418e | 12f7b89dd72b25da4eeaa22097877963cad6418e |
| Linux kernel | >= 1a54aa506b3b2f31496731039e49778f54eee881, < a786265aecf39015418e4f930cc1c14603a01490 | a786265aecf39015418e4f930cc1c14603a01490 |
| Linux kernel | >= faf0b4c5e00bb680e8e43ac936df24d3f48c8e65, < f63461af2c1a86af4217910e47a5c46e3372e645 | f63461af2c1a86af4217910e47a5c46e3372e645 |
| Linux kernel | >= 7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4, < 07b418d50ccbbca7e5d87a3a0d41d436cefebf79 | 07b418d50ccbbca7e5d87a3a0d41d436cefebf79 |
| Linux kernel | >= 74ca3ef68d2f449bc848c0a814cefc487bf755fa, < bc2cbf7525ac288e07d465f5a1d8cb8fb9599254 | bc2cbf7525ac288e07d465f5a1d8cb8fb9599254 |
| Linux kernel | >= eb48680b0255a9e8a9bdc93d6a55b11c31262e62, < acc5103a0a8c200a52af7d732c36a8477436a3d3 | acc5103a0a8c200a52af7d732c36a8477436a3d3 |
| Linux kernel | >= f98364e926626c678fb4b9004b75cacf92ff0662, < 89d9a69ae0c667e4d9d028028e2dcc837bae626f | 89d9a69ae0c667e4d9d028028e2dcc837bae626f |
| Linux kernel | >= f98364e926626c678fb4b9004b75cacf92ff0662, < 8253a60c89ec35c8f36fb2cc08cdf854c7a3eb58 | 8253a60c89ec35c8f36fb2cc08cdf854c7a3eb58 |
| Linux kernel | >= f98364e926626c678fb4b9004b75cacf92ff0662, < 6d6e54fc71ad1ab0a87047fd9c211e75d86084a3 | 6d6e54fc71ad1ab0a87047fd9c211e75d86084a3 |
| Linux kernel | = 079cba4f4e307c69878226fdf5228c20aa1c969c | No fix listed |
| Linux kernel | = a16fbb80064634b254520a46395e36b87ca4731e | No fix listed |
| Linux kernel | >= 4.19.311, < 4.19.323 | 4.19.323 |
| Linux kernel | >= 5.4.273, < 5.4.285 | 5.4.285 |
| Linux kernel | >= 5.10.214, < 5.10.227 | 5.10.227 |
| Linux kernel | >= 5.15.153, < 5.15.168 | 5.15.168 |
| Linux kernel | >= 6.1.83, < 6.1.113 | 6.1.113 |
| Linux kernel | >= 6.6.23, < 6.6.55 | 6.6.55 |
| Linux kernel | >= 6.7.11, < 6.8 | 6.8 |
| Linux kernel | >= 6.8.2, < 6.9 | 6.9 |
| Linux kernel | = 6.9 | No fix listed |
| Linux kernel | < 4.19.323 | 4.19.323 |
| Linux kernel | < 5.4.285 | 5.4.285 |
| Linux kernel | < 5.10.227 | 5.10.227 |
| Linux kernel | < 5.15.168 | 5.15.168 |
| Linux kernel | < 6.1.113 | 6.1.113 |
| Linux kernel | < 6.6.55 | 6.6.55 |
| Linux kernel | < 6.10.14 | 6.10.14 |
| Linux kernel | < 6.11.3 | 6.11.3 |
| Linux kernel | < 6.12 | 6.12 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens RUGGEDCOM RST2428P | < V3.2 | V3.2 |
| Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.2 | V3.2 |
| Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.2 | V3.2 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-54.56 | 6.8.0-54.56 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1019.23 | 6.8.0-1019.23 |
| Linux kernel | >= 6.7.11, < 6.8.2 | 6.8.2 |
| Linux kernel | >= 6.9, < 6.10.14 | 6.10.14 |
| Linux kernel | >= 6.11, < 6.11.3 | 6.11.3 |
| Linux kernel | = 4.19.311 | No fix listed |
| Linux kernel | = 5.4.273 | No fix listed |
| Linux kernel | = 6.12-rc1 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- kernel vendor-advisory
- Debian Security Tracker CVE-2024-49982 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7166-1 vendor-advisory
- USN-7166-2 vendor-advisory
- USN-7166-3 vendor-advisory
- USN-7186-1 vendor-advisory
- USN-7186-2 vendor-advisory
- USN-7194-1 vendor-advisory
- USN-7166-4 vendor-advisory
- USN-7276-1 vendor-advisory
- USN-7277-1 vendor-advisory
- USN-7293-1 vendor-advisory
- USN-7294-1 vendor-advisory
- USN-7295-1 vendor-advisory
- USN-7301-1 vendor-advisory
- USN-7303-1 vendor-advisory
- USN-7304-1 vendor-advisory
- USN-7294-2 vendor-advisory
- USN-7294-3 vendor-advisory
- USN-7303-2 vendor-advisory
- USN-7310-1 vendor-advisory
- USN-7311-1 vendor-advisory
- USN-7303-3 vendor-advisory
- USN-7294-4 vendor-advisory
- USN-7384-1 vendor-advisory
- USN-7385-1 vendor-advisory
- USN-7386-1 vendor-advisory
- USN-7393-1 vendor-advisory
- USN-7384-2 vendor-advisory
- USN-7401-1 vendor-advisory
- USN-7403-1 vendor-advisory
- USN-7413-1 vendor-advisory
- USN-7468-1 vendor-advisory
- USN-7539-1 vendor-advisory
- USN-7540-1 vendor-advisory
- www.cve.org
- git.kernel.org
- git.kernel.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org
- lists.debian.org
- cert-portal.siemens.com
- cert-portal.siemens.com
- ENISA EUVD EUVD-2024-43660 third-party-advisory