DEBIAN-CVE-2025-39873
In the Linux kernel, the following vulnerability has been resolved: can: xilinx_can: xcan_write_frame(): fix use-after-free of transmitted SKB can_put_echo_skb() takes ownership of the SKB and it may be freed during or after the call. However, xilinx_can xcan_write_frame() keeps using SKB after the call. Fix that by only calling can_put_echo_skb() after the code is done touching the SKB. The tx_lock is held for the entire xcan_write_frame() execution and also on the can_get_echo_skb() side so the order of operations does not matter. An earlier fix commit 3d3c817c3a40 ("can: xilinx_can: Fix usage of skb memory") did not move the can_put_echo_skb() call far enough. [mkl: add "commit" in front of sha1 in patch description] [mkl: fix indention]
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:11 | linux | 6.19~rc4-1~exp1, 6.12.74-1, 6.12.37-1 |
| Debian:14 | linux | 6.12.63-1~bpo12+1, 6.12.73-1, 6.12.73-1~bpo12+1 |
| Debian:13 | linux | 0, 6.12.38-1, 6.12.41-1 |
| Debian:12 | linux | 6.1.38-2, 0, 6.1.106-1 |
| Debian:11 | linux-6.1 | 6.1.148-1~deb11u1, 0, 6.1.106-3 |
Timeline
- Sep 23, 2025 CVE Published
- Apr 28, 2026 CVE Updated