CVE-2023-52509 json
ravb: Fix use-after-free issue in ravb_tx_timeout_work()
published 2024-03-02 2 y ago modified 2026-08-05 3 mo ago also EUVD-2023-57134
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
ravb: Fix use-after-free issue in ravb_tx_timeout_work()
The ravb_stop() should call cancel_work_sync(). Otherwise, ravb_tx_timeout_work() is possible to use the freed priv after ravb_remove() was called like below:
CPU0 CPU1 ravb_tx_timeout() ravb_remove() unregister_netdev() free_netdev(ndev) // free priv ravb_tx_timeout_work() // use priv
unregister_netdev() will call .ndo_stop() so that ravb_stop() is called. And, after phy_stop() is called, netif_carrier_off() is also called. So that .ndo_tx_timeout() will not be called after phy_stop().
Patch / fix
- Linux Linux 5.4.259, 5.10.199, 5.15.136, 6.1.59, 6.5.8, 6.6
- linux Debian 12 6.1.64-1
- linux Debian 14, Debian 13 6.5.8-1
debian advisories DEBIAN-CVE-2023-52509
- linux Ubuntu 20.04 LTS 5.4.0-171.189
- linux Ubuntu 22.04 LTS 5.15.0-94.104
- linux-aws Ubuntu 20.04 LTS 5.4.0-1118.128
- linux-aws Ubuntu 22.04 LTS 5.15.0-1053.58
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1122.131
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1051.59
- linux-gke Ubuntu 22.04 LTS 5.15.0-1050.55
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1065.70
ubuntu advisories UBUNTU-CVE-2023-52509
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.216.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.216.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.182.1
suse advisories SUSE-SU-2024:1870-1SUSE-SU-2024:1646-1SUSE-SU-2024:1643-1SUSE-SU-2024:1490-1SUSE-SU-2024:1489-1SUSE-SU-2024:1480-1
- git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 commit
- git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 commit
- git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 commit
- git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 commit
- git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 commit
- git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52509 updated cvss 6.0
kernel: ravb: Fix use-after-free issue in ravb_tx_timeout_work()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-226-15 updated
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 familynot affected
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5
patch
-
git.kernel.org
/stable/c/db9aafa19547833240f58c2998aed7baf414dc82
patch
-
git.kernel.org
/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6
patch
-
git.kernel.org
/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965
patch
-
git.kernel.org
/stable/c/105abd68ad8f781985113aee2e92e0702b133705
patch
-
git.kernel.org
/stable/c/3971442870713de527684398416970cf025b4f89
patch
Sources
- CVE List CVE-2023-52509
- NVD CVE-2023-52509
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.