{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-71291","id":"CVE-2025-71291","title":"misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read()\n\nIn the function bcm_vk_read(), the pointer entry is checked, indicating\nthat it can be NULL. If entry is NULL and rc is set to -EMSGSIZE, the\nfollowing code may cause null-pointer dereferences:\n\n  struct vk_msg_blk tmp_msg = entry->to_h_msg[0];\n  set_msg_id(&t","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read()\n\nIn the function bcm_vk_read(), the pointer entry is checked, indicating\nthat it can be NULL. If entry is NULL and rc is set to -EMSGSIZE, the\nfollowing code may cause null-pointer dereferences:\n\n  struct vk_msg_blk tmp_msg = entry->to_h_msg[0];\n  set_msg_id(&tmp_msg, entry->usr_msg_id);\n  tmp_msg.size = entry->to_h_blks - 1;\n\nTo prevent these possible null-pointer dereferences, copy to_h_msg,\nusr_msg_id, and to_h_blks from iter into temporary variables, and return\nthese temporary variables to the application instead of accessing them\nthrough a potentially NULL entry.","published":"2026-05-06T11:32:23.223Z","updated":"2026-10-28T02:30:26.250767396Z","reserved":"2026-05-06T11:31:45.509Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","lessThan":"741c5a3a0cd893a4218fc0fc8c18403e54fcfb22","status":"affected","versionType":"git"},{"version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","lessThan":"ece3722169ba93734bfd1f06255e8ab7f19fe964","status":"affected","versionType":"git"},{"version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","lessThan":"aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb","status":"affected","versionType":"git"},{"version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","lessThan":"3842f93e6e29d5cc1dcb9e5bda70587b444bed69","status":"affected","versionType":"git"},{"version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","lessThan":"20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd","status":"affected","versionType":"git"},{"version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","lessThan":"ba75ecb97d3f4e95d59002c13afb6519205be6cb","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.1.165","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.128","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.75","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.16","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.6","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/741c5a3a0cd893a4218fc0fc8c18403e54fcfb22","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ece3722169ba93734bfd1f06255e8ab7f19fe964","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3842f93e6e29d5cc1dcb9e5bda70587b444bed69","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ba75ecb97d3f4e95d59002c13afb6519205be6cb","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71291.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71291","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00123,"epssPercentile":0.021,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-71291","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71291","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-71291","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-71291","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}