CVE-2025-38003 (GCVE-0-2025-38003)
Vulnerability from cvelistv5
Published
2025-06-08 10:34
Modified
2025-06-08 10:34
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: can: bcm: add missing rcu read protection for procfs content When the procfs content is generated for a bcm_op which is in the process to be removed the procfs output might show unreliable data (UAF). As the removal of bcm_op's is already implemented with rcu handling this patch adds the missing rcu_read_lock() and makes sure the list entries are properly removed under rcu protection.
Impacted products
Vendor Product Version
Linux Linux Version: 5b48f5711f1c630841ab78dcc061de902f0e37bf
Version: 85cd41070df992d3c0dfd828866fdd243d3b774a
Version: f34f2a18e47b73e48f90a757e1f4aaa8c7d665a1
Version: f1b4e32aca0811aa011c76e5d6cf2fa19224b386
Version: f1b4e32aca0811aa011c76e5d6cf2fa19224b386
Version: f1b4e32aca0811aa011c76e5d6cf2fa19224b386
Version: f1b4e32aca0811aa011c76e5d6cf2fa19224b386
Version: f1b4e32aca0811aa011c76e5d6cf2fa19224b386
Version: fbac09a3b8890003c0c55294c00709f3ae5501bb
Version: edb4baffb9483141a50fb7f7146cfe4a4c0c2db8
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/can/bcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "19f553a1ddf260da6570ed8f8d91a8c87f49b63a",
              "status": "affected",
              "version": "5b48f5711f1c630841ab78dcc061de902f0e37bf",
              "versionType": "git"
            },
            {
              "lessThan": "659701c0b954ccdb4a916a4ad59bbc16e726d42c",
              "status": "affected",
              "version": "85cd41070df992d3c0dfd828866fdd243d3b774a",
              "versionType": "git"
            },
            {
              "lessThan": "0622846db728a5332b917c797c733e202c4620ae",
              "status": "affected",
              "version": "f34f2a18e47b73e48f90a757e1f4aaa8c7d665a1",
              "versionType": "git"
            },
            {
              "lessThan": "6d7d458c41b98a5c1670cbd36f2923c37de51cf5",
              "status": "affected",
              "version": "f1b4e32aca0811aa011c76e5d6cf2fa19224b386",
              "versionType": "git"
            },
            {
              "lessThan": "1f912f8484e9c4396378c39460bbea0af681f319",
              "status": "affected",
              "version": "f1b4e32aca0811aa011c76e5d6cf2fa19224b386",
              "versionType": "git"
            },
            {
              "lessThan": "63567ecd99a24495208dc860d50fb17440043006",
              "status": "affected",
              "version": "f1b4e32aca0811aa011c76e5d6cf2fa19224b386",
              "versionType": "git"
            },
            {
              "lessThan": "7c9db92d5f0eadca30884af75c53d601edc512ee",
              "status": "affected",
              "version": "f1b4e32aca0811aa011c76e5d6cf2fa19224b386",
              "versionType": "git"
            },
            {
              "lessThan": "dac5e6249159ac255dad9781793dbe5908ac9ddb",
              "status": "affected",
              "version": "f1b4e32aca0811aa011c76e5d6cf2fa19224b386",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "fbac09a3b8890003c0c55294c00709f3ae5501bb",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "edb4baffb9483141a50fb7f7146cfe4a4c0c2db8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/can/bcm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.294",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.238",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.185",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.141",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.93",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.31",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.294",
                  "versionStartIncluding": "5.4.205",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.238",
                  "versionStartIncluding": "5.10.130",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.185",
                  "versionStartIncluding": "5.15.54",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.141",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.93",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.31",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.9",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.252",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.18.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncan: bcm: add missing rcu read protection for procfs content\n\nWhen the procfs content is generated for a bcm_op which is in the process\nto be removed the procfs output might show unreliable data (UAF).\n\nAs the removal of bcm_op\u0027s is already implemented with rcu handling this\npatch adds the missing rcu_read_lock() and makes sure the list entries\nare properly removed under rcu protection."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-08T10:34:55.808Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/19f553a1ddf260da6570ed8f8d91a8c87f49b63a"
        },
        {
          "url": "https://git.kernel.org/stable/c/659701c0b954ccdb4a916a4ad59bbc16e726d42c"
        },
        {
          "url": "https://git.kernel.org/stable/c/0622846db728a5332b917c797c733e202c4620ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/6d7d458c41b98a5c1670cbd36f2923c37de51cf5"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f912f8484e9c4396378c39460bbea0af681f319"
        },
        {
          "url": "https://git.kernel.org/stable/c/63567ecd99a24495208dc860d50fb17440043006"
        },
        {
          "url": "https://git.kernel.org/stable/c/7c9db92d5f0eadca30884af75c53d601edc512ee"
        },
        {
          "url": "https://git.kernel.org/stable/c/dac5e6249159ac255dad9781793dbe5908ac9ddb"
        }
      ],
      "title": "can: bcm: add missing rcu read protection for procfs content",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-38003",
    "datePublished": "2025-06-08T10:34:55.808Z",
    "dateReserved": "2025-04-16T04:51:23.977Z",
    "dateUpdated": "2025-06-08T10:34:55.808Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-38003\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-06-08T11:15:20.990\",\"lastModified\":\"2025-06-09T12:15:47.880\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncan: bcm: add missing rcu read protection for procfs content\\n\\nWhen the procfs content is generated for a bcm_op which is in the process\\nto be removed the procfs output might show unreliable data (UAF).\\n\\nAs the removal of bcm_op\u0027s is already implemented with rcu handling this\\npatch adds the missing rcu_read_lock() and makes sure the list entries\\nare properly removed under rcu protection.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: bcm: a\u00f1adir protecci\u00f3n de lectura rcu faltante para el contenido de procfs. Cuando se genera el contenido de procfs para un bcm_op que se va a eliminar, la salida de procfs podr\u00eda mostrar datos no fiables (UAF). Dado que la eliminaci\u00f3n de bcm_op ya est\u00e1 implementada con la gesti\u00f3n de rcu, este parche a\u00f1ade el rcu_read_lock() faltante y garantiza que las entradas de la lista se eliminen correctamente bajo la protecci\u00f3n de rcu.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0622846db728a5332b917c797c733e202c4620ae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/19f553a1ddf260da6570ed8f8d91a8c87f49b63a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1f912f8484e9c4396378c39460bbea0af681f319\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/63567ecd99a24495208dc860d50fb17440043006\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/659701c0b954ccdb4a916a4ad59bbc16e726d42c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6d7d458c41b98a5c1670cbd36f2923c37de51cf5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7c9db92d5f0eadca30884af75c53d601edc512ee\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dac5e6249159ac255dad9781793dbe5908ac9ddb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…