CVE-2021-47668

HighCVSS 8.8/10Last modified Aug 4, 2026

Description

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

can: dev: can_restart: fix use after free bug

After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len;

Reordering the lines solves the issue.

Metrics

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

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 260925a0b7d2da5449f8ecfd02c1405e0c8a45b8; >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < bbc6847b9b8978b520f62fbc7c68c54ef0f8d282; >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 92668d28c7e6a7a2ba07df287669ffcdf650c421; >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 08ab951787098ae0b6c0364aeea7a8138226f234; >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < ac48ef15826e83f4206c47add61072e8fc76d328; >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 593c072b7b3c4d7044416eb039d9ad706bedd67a; >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 03f16c5075b22c8902d2af739969e878b0879c94
LinuxLinux2.6.31

References

Timeline

Published
Apr 17, 2025
Last modified
Aug 4, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-476697.8In the Linux kernel, the following vulnerability has been resolved: can: vxcan: vxcan_xmit: fix use after free bug After calling netif_rx_CVE-2021-476708.8In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs After calling peak_usb_netif_rxCVE-2021-476713.3In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path In CVE-2021-476885.7In WhiteBeam 0.2.0 through 0.2.1 before 0.2.2, a user with local access to a server can bypass the allow-list functionality because a file cCVE-2021-476895.4The Core Config Manager (CCM) in Nagios XI versions prior to CCM 3.1.0 / Nagios XI 5.8.0 contais a cross-site scripting (XSS) vulnerability CVE-2021-476905.4The Core Config Manager (CCM) in Nagios XI versions prior to CCM 3.1.1 / Nagios XI 5.8.2 contains multiple cross-site scripting (XSS) vulnerCVE-2021-476915.4The Core Config Manager (CCM) in Nagios XI versions prior to CCM 3.1.1 / Nagios XI 5.8.2 contains multiple cross-site scripting (XSS) vulnerCVE-2021-476938.8The Core Config Manager (CCM) in Nagios XI versions prior to CCM 3.1.3 / Nagios XI 5.8.5 contains a SQL injection vulnerability in the searcCVE-2021-476946.1The Core Config Manager (CCM) in Nagios XI versions prior to CCM 3.1.4 / Nagios XI 5.8.6 contains a reflected cross-site scripting (XSS) vulCVE-2021-476955.4Nagios XI versions prior to 5.8.0 are vulnerable to stored cross-site scripting (XSS) via the My Tools page. Insufficient validation or escaCVE-2021-476965.4Nagios XI versions prior to 5.8.0 are vulnerable to cross-site scripting (XSS) via BPI config ID handling. Insufficient validation or escapiCVE-2021-476975.4Nagios XI versions prior to 5.8.0 are vulnerable to cross-site scripting (XSS) via the Views feature URL handling. Insufficient validation o