# CVE-2024-53240: xen/netfront: fix crash when removing device

- Severity: Medium 5.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 47% of CVEs (2026-11-30)
- Published: 2024-12-24T09:22:36.448Z
- Modified: 2026-06-17T08:08:40.830Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

xen/netfront: fix crash when removing device

When removing a netfront device directly after a suspend/resume cycle
it might happen that the queues have not been setup again, causing a
crash during the attempt to stop the queues another time.

Fix that by checking the queues are existing before trying to stop
them.

This is XSA-465 / CVE-2024-53240.

(As written by CVE List.)

## Affected

- Linux Linux: from ed773dd798bf720756d20021b8d8a4a3d7184bda before 20f7f0cf7af5d81b218202ef504223af84b16a8f; from e6860c889f4ad50b6ab696f5ea154295d72cf27a before 1d5354a9182b6d302ae10367cbec1ca339d4e4e7; from e6e897d4fe2f89c0bd94600a40bedf5e6e75e050 before 2657ba851fa3381256d81e431b20041dc232fd88; from d50b7914fae04d840ce36491d22133070b18cca9 before 8b41e6bccf7de93982781be4125211443382e66d; from d50b7914fae04d840ce36491d22133070b18cca9 before fe9a8f5250aed0948b668c8a4e051e3b0fc29f09; from d50b7914fae04d840ce36491d22133070b18cca9 before 7728e974ffbf14f17648dd92ea640b42b654d47c; from d50b7914fae04d840ce36491d22133070b18cca9 before f9244fb55f37356f75c739c57323d9422d7aa0f8; 99859947517e446058ad7243ee81d2f9801fa3dd; f2dd60fd3fe98bd36a91b0c6e10bfe9d66258f84; from 5.4.227 before 5.4.288; from 5.10.159 before 5.10.232; from 5.15.83 before 5.15.175; and 3 more (not affected: before 6.1; from 5.4.288 up to 5.4.*; from 5.10.232 up to 5.10.*; from 5.15.175 up to 5.15.*; from 6.1.121 up to 6.1.*; from 6.6.67 up to 6.6.*; from 6.12.6 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 4.19.269 before 4.20; from 5.4.227 before 5.4.288; from 5.10.159 before 5.10.232; from 5.15.83 before 5.15.175; from 6.0.13 before 6.1; from 6.1.1 before 6.1.121; from 6.2 before 6.6.67; from 6.7 before 6.12.6; 6.1; 6.13

## References

- <https://git.kernel.org/stable/c/20f7f0cf7af5d81b218202ef504223af84b16a8f> (patch)
- <https://git.kernel.org/stable/c/1d5354a9182b6d302ae10367cbec1ca339d4e4e7> (patch)
- <https://git.kernel.org/stable/c/2657ba851fa3381256d81e431b20041dc232fd88> (patch)
- <https://git.kernel.org/stable/c/8b41e6bccf7de93982781be4125211443382e66d> (patch)
- <https://git.kernel.org/stable/c/fe9a8f5250aed0948b668c8a4e051e3b0fc29f09> (patch)
- <https://git.kernel.org/stable/c/7728e974ffbf14f17648dd92ea640b42b654d47c> (patch)
- <https://git.kernel.org/stable/c/f9244fb55f37356f75c739c57323d9422d7aa0f8> (patch)
- <http://xenbits.xen.org/xsa/advisory-465.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-53240](https://www.cve.org/CVERecord?id=CVE-2024-53240), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-53240](https://nvd.nist.gov/vuln/detail/CVE-2024-53240), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53240 · Whole record: https://cve.day/CVE-2024-53240.json · Rebuilt by cve.day 2026-11-25T22:58:50.338Z
