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: <2024122738-CVE-2024-56645-bc11@gregkh>
Date: Fri, 27 Dec 2024 16:02:46 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-56645: can: j1939: j1939_session_new(): fix skb reference counting

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

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

can: j1939: j1939_session_new(): fix skb reference counting

Since j1939_session_skb_queue() does an extra skb_get() for each new
skb, do the same for the initial one in j1939_session_new() to avoid
refcount underflow.

[mkl: clean up commit message]

The Linux kernel CVE team has assigned CVE-2024-56645 to this issue.


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

	Issue introduced in 5.4 with commit 9d71dd0c70099914fcd063135da3c580865e924c and fixed in 5.4.287 with commit 224e606a8d8e8c7db94036272c47a37455667313
	Issue introduced in 5.4 with commit 9d71dd0c70099914fcd063135da3c580865e924c and fixed in 5.10.231 with commit b3282c2bebeeb82ceec492ee4972f51ee7a4a132
	Issue introduced in 5.4 with commit 9d71dd0c70099914fcd063135da3c580865e924c and fixed in 5.15.174 with commit 4199dd78a59896e091d3a7a05a77451aa7fd724d
	Issue introduced in 5.4 with commit 9d71dd0c70099914fcd063135da3c580865e924c and fixed in 6.1.120 with commit f117cba69cbbd496babb3defcdf440df4fd6fe14
	Issue introduced in 5.4 with commit 9d71dd0c70099914fcd063135da3c580865e924c and fixed in 6.6.66 with commit 426d94815e12b6bdb9a75af294fbbafb9301601d
	Issue introduced in 5.4 with commit 9d71dd0c70099914fcd063135da3c580865e924c and fixed in 6.12.5 with commit 68fceb143b635cdc59fed3896d5910aff38f345e
	Issue introduced in 5.4 with commit 9d71dd0c70099914fcd063135da3c580865e924c and fixed in 6.13-rc2 with commit a8c695005bfe6569acd73d777ca298ddddd66105

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-2024-56645
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:
	net/can/j1939/transport.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/224e606a8d8e8c7db94036272c47a37455667313
	https://git.kernel.org/stable/c/b3282c2bebeeb82ceec492ee4972f51ee7a4a132
	https://git.kernel.org/stable/c/4199dd78a59896e091d3a7a05a77451aa7fd724d
	https://git.kernel.org/stable/c/f117cba69cbbd496babb3defcdf440df4fd6fe14
	https://git.kernel.org/stable/c/426d94815e12b6bdb9a75af294fbbafb9301601d
	https://git.kernel.org/stable/c/68fceb143b635cdc59fed3896d5910aff38f345e
	https://git.kernel.org/stable/c/a8c695005bfe6569acd73d777ca298ddddd66105

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ