Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-54039

UNSCOREDEPSS 14%

can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 9d71dd0c70099914fcd063135da3c580865e924c, < d2136f05690c272dfc9f9d6efcc51d5f53494b33; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 70caa596d158a5d84b117f722d58f3ea503a5ba9; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4fe1d9b6231a68ffc91318f57fd8e4982f028cf7; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4c3fb22a6ec68258ee129a2e6b720f43dffc562f; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 36befc9aed6202b4a9b906529aea13eacd7e34ff; >= 9d71dd0c70099914fcd063135da3c580865e924c, < b45193cb4df556fe6251b285a5ce44046dd36b4a
  • Anyone running Linux 5.4

Vulnerability facts

Affected
Linux >= 9d71dd0c70099914fcd063135da3c580865e924c, < d2136f05690c272dfc9f9d6efcc51d5f53494b33; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 70caa596d158a5d84b117f722d58f3ea503a5ba9; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4fe1d9b6231a68ffc91318f57fd8e4982f028cf7; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4c3fb22a6ec68258ee129a2e6b720f43dffc562f; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 36befc9aed6202b4a9b906529aea13eacd7e34ff; >= 9d71dd0c70099914fcd063135da3c580865e924c, < b45193cb4df556fe6251b285a5ce44046dd36b4a; Linux 5.4
Fixed in
Linux 70caa596d158a5d84b117f722d58f3ea503a5ba9, Linux 4fe1d9b6231a68ffc91318f57fd8e4982f028cf7, Linux 4c3fb22a6ec68258ee129a2e6b720f43dffc562f, Linux 36befc9aed6202b4a9b906529aea13eacd7e34ff
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access In the j1939_tp_tx_dat_new() function, an out-of-bounds memory access could occur during the memcpy() operation if the size of skb->cb is larger than the size of struct j1939_sk_buff_cb. This is because the memcpy() operation uses the size of skb->cb, leading to a read beyond the struct j1939_sk_buff_cb. Updated the memcpy() operation to use the size of struct j1939_sk_buff_cb instead of the size of skb->cb. This ensures that the memcpy() operation only reads the memory within the bounds of struct j1939_sk_buff_cb, preventing out-of-bounds memory access. Additionally, add a BUILD_BUG_ON() to check that the size of skb->cb is greater than or equal to the size of struct j1939_sk_buff_cb. This ensures that the skb->cb buffer is large enough to hold the j1939_sk_buff_cb structure. [mkl: rephrase commit message]

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 9d71dd0c70099914fcd063135da3c580865e924c, < d2136f05690c272dfc9f9d6efcc51d5f53494b33; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 70caa596d158a5d84b117f722d58f3ea503a5ba9; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4fe1d9b6231a68ffc91318f57fd8e4982f028cf7; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4c3fb22a6ec68258ee129a2e6b720f43dffc562f; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 36befc9aed6202b4a9b906529aea13eacd7e34ff; >= 9d71dd0c70099914fcd063135da3c580865e924c, < b45193cb4df556fe6251b285a5ce44046dd36b4a—cvelist
Linux5.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-54039. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54039.md
Affected: Linux >= 9d71dd0c70099914fcd063135da3c580865e924c, < d2136f05690c272dfc9f9d6efcc51d5f53494b33; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 70caa596d158a5d84b117f722d58f3ea503a5ba9; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4fe1d9b6231a68ffc91318f57fd8e4982f028cf7; >= 9d71dd0c70099914fcd0631…
Fixed in: Linux 70caa596d158a5d84b117f722d58f3ea503a5ba9, Linux 4fe1d9b6231a68ffc91318f57fd8e4982f028cf7, Linux 4c3fb22a6ec68258ee129a2e6b720f43dffc562f, Linux 36befc9aed6202b4a9b906529aea13eacd7e34ff

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-54039 being exploited?

There is no confirmed exploitation: CVE-2023-54039 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-54039?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2023-54039?

Linux >= 9d71dd0c70099914fcd063135da3c580865e924c, < d2136f05690c272dfc9f9d6efcc51d5f53494b33; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 70caa596d158a5d84b117f722d58f3ea503a5ba9; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4fe1d9b6231a68ffc91318f57fd8e4982f028cf7; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 4c3fb22a6ec68258ee129a2e6b720f43dffc562f; >= 9d71dd0c70099914fcd063135da3c580865e924c, < 36befc9aed6202b4a9b906529aea13eacd7e34ff; >= 9d71dd0c70099914fcd063135da3c580865e924c, < b45193cb4df556fe6251b285a5ce44046dd36b4a; Linux 5.4.

Is there a fix for CVE-2023-54039?

Yes. Fixed in Linux 70caa596d158a5d84b117f722d58f3ea503a5ba9, Linux 4fe1d9b6231a68ffc91318f57fd8e4982f028cf7, Linux 4c3fb22a6ec68258ee129a2e6b720f43dffc562f, Linux 36befc9aed6202b4a9b906529aea13eacd7e34ff. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2023-54039?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors