{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2023-54039",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2023-54039",
    "idYear": 2023,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-24T10:56:05.365Z",
    "updatedAt": "2026-05-11T19:54:14.838Z",
    "importedAt": "2026-10-24T01:57:03.413Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncan: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access\n\nIn the j1939_tp_tx_dat_new() function, an out-of-bounds memory access\ncould occur during the memcpy() operation if the size of skb->cb is\nlarger than the size of struct j1939_sk_buff_cb. This is because the\nmemcpy() operation uses the size of skb->cb, leading to a read beyond\nthe struct j1939_sk_buff_cb.\n\nUpdated the memcpy() operation to use the size of struct\nj1939_sk_buff_cb instead of the size of skb->cb. This ensures that the\nmemcpy() operation only reads the memory within the bounds of struct\nj1939_sk_buff_cb, preventing out-of-bounds memory access.\n\nAdditionally, add a BUILD_BUG_ON() to check that the size of skb->cb\nis greater than or equal to the size of struct j1939_sk_buff_cb. This\nensures that the skb->cb buffer is large enough to hold the\nj1939_sk_buff_cb structure.\n\n[mkl: rephrase commit message]",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "9d71dd0c70099914fcd063135da3c580865e924c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d2136f05690c272dfc9f9d6efcc51d5f53494b33"
            },
            {
              "version": "9d71dd0c70099914fcd063135da3c580865e924c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "70caa596d158a5d84b117f722d58f3ea503a5ba9"
            },
            {
              "version": "9d71dd0c70099914fcd063135da3c580865e924c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4fe1d9b6231a68ffc91318f57fd8e4982f028cf7"
            },
            {
              "version": "9d71dd0c70099914fcd063135da3c580865e924c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4c3fb22a6ec68258ee129a2e6b720f43dffc562f"
            },
            {
              "version": "9d71dd0c70099914fcd063135da3c580865e924c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "36befc9aed6202b4a9b906529aea13eacd7e34ff"
            },
            {
              "version": "9d71dd0c70099914fcd063135da3c580865e924c",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b45193cb4df556fe6251b285a5ce44046dd36b4a"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.4",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.4"
            },
            {
              "version": "5.4.241",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.178",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.107",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.24",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.2.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.2.*"
            },
            {
              "version": "6.3",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}