lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025041734-CVE-2021-47669-f268@gregkh>
Date: Thu, 17 Apr 2025 20:01:35 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2021-47669: can: vxcan: vxcan_xmit: fix use after free bug

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

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

can: vxcan: vxcan_xmit: fix use after free bug

After calling netif_rx_ni(skb), dereferencing skb is unsafe.
Especially, the canfd_frame cfd which aliases skb memory is accessed
after the netif_rx_ni().

The Linux kernel CVE team has assigned CVE-2021-47669 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.12 with commit a8f820a380a2a06fc4fe1a54159067958f800929 and fixed in 4.14.218 with commit 6d6dcf2399cdd26f7f5426ca8dd8366b7f2ca105
	Issue introduced in 4.12 with commit a8f820a380a2a06fc4fe1a54159067958f800929 and fixed in 4.19.171 with commit 9b820875a32a3443d67bfd368e93038354e98052
	Issue introduced in 4.12 with commit a8f820a380a2a06fc4fe1a54159067958f800929 and fixed in 5.4.93 with commit a24476b37167816e6352ca1a2cf3769847774f70
	Issue introduced in 4.12 with commit a8f820a380a2a06fc4fe1a54159067958f800929 and fixed in 5.10.11 with commit e771a874076115df8bff27d325edfd2340e4ec69
	Issue introduced in 4.12 with commit a8f820a380a2a06fc4fe1a54159067958f800929 and fixed in 5.11 with commit 75854cad5d80976f6ea0f0431f8cedd3bcc475cb

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2021-47669
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/net/can/vxcan.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/6d6dcf2399cdd26f7f5426ca8dd8366b7f2ca105
	https://git.kernel.org/stable/c/9b820875a32a3443d67bfd368e93038354e98052
	https://git.kernel.org/stable/c/a24476b37167816e6352ca1a2cf3769847774f70
	https://git.kernel.org/stable/c/e771a874076115df8bff27d325edfd2340e4ec69
	https://git.kernel.org/stable/c/75854cad5d80976f6ea0f0431f8cedd3bcc475cb

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ