9.8critical
can: j1939: j1939_session_new(): fix skb reference counting
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.68% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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]
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9d71dd0c70099914fcd063135da3c580865e924c before 224e606a8d8e8c7db94036272c47a37455667313, from 9d71dd0c70099914fcd063135da3c580865e924c before b3282c2bebeeb82ceec492ee4972f51ee7a4a132, from 9d71dd0c70099914fcd063135da3c580865e924c before 4199dd78a59896e091d3a7a05a77451aa7fd724d, from 9d71dd0c70099914fcd063135da3c580865e924c before f117cba69cbbd496babb3defcdf440df4fd6fe14, from 9d71dd0c70099914fcd063135da3c580865e924c before 426d94815e12b6bdb9a75af294fbbafb9301601d, from 9d71dd0c70099914fcd063135da3c580865e924c before 68fceb143b635cdc59fed3896d5910aff38f345e, from 9d71dd0c70099914fcd063135da3c580865e924c before a8c695005bfe6569acd73d777ca298ddddd66105, 5.4 Not affected: before 5.4, from 5.4.287 up to 5.4.*, from 5.10.231 up to 5.10.*, from 5.15.174 up to 5.15.*, from 6.1.120 up to 6.1.*, from 6.6.66 up to 6.6.* | CVE List |
| linux linux_kernel | from 5.4 before 5.4.287, from 5.5 before 5.10.231, from 5.11 before 5.15.174, from 5.16 before 6.1.120, from 6.2 before 6.6.66, from 6.7 before 6.12.5, 6.13 | NVD |
All scores
| Linux | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
What each source says
CVE List
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]
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: j1939: j1939_session_new(): corrige el conteo de referencias de skb Dado que j1939_session_skb_queue() realiza un skb_get() adicional para cada nuevo skb, haga lo mismo para el inicial en j1939_session_new() para evitar el desbordamiento del conteo de referencias. [mkl: limpia el mensaje de confirmación]
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-56645 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-56645 changed 2026-08-04 | Public domain |