{"api_version":"1","generated_at":"2026-07-23T12:10:59+00:00","cve":"CVE-2025-71291","urls":{"html":"https://cve.report/CVE-2025-71291","api":"https://cve.report/api/cve/CVE-2025-71291.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-71291","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-71291"},"summary":{"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(&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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-06 12:16:28","updated_at":"2026-05-13 21:04:54"},"problem_types":["CWE-476"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/3842f93e6e29d5cc1dcb9e5bda70587b444bed69","name":"https://git.kernel.org/stable/c/3842f93e6e29d5cc1dcb9e5bda70587b444bed69","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd","name":"https://git.kernel.org/stable/c/20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb","name":"https://git.kernel.org/stable/c/aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ba75ecb97d3f4e95d59002c13afb6519205be6cb","name":"https://git.kernel.org/stable/c/ba75ecb97d3f4e95d59002c13afb6519205be6cb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ece3722169ba93734bfd1f06255e8ab7f19fe964","name":"https://git.kernel.org/stable/c/ece3722169ba93734bfd1f06255e8ab7f19fe964","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/741c5a3a0cd893a4218fc0fc8c18403e54fcfb22","name":"https://git.kernel.org/stable/c/741c5a3a0cd893a4218fc0fc8c18403e54fcfb22","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-71291","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71291","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 88517757a829e9ce146a6c7233ad5dcdc66fcbb0 741c5a3a0cd893a4218fc0fc8c18403e54fcfb22 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 88517757a829e9ce146a6c7233ad5dcdc66fcbb0 ece3722169ba93734bfd1f06255e8ab7f19fe964 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 88517757a829e9ce146a6c7233ad5dcdc66fcbb0 aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 88517757a829e9ce146a6c7233ad5dcdc66fcbb0 3842f93e6e29d5cc1dcb9e5bda70587b444bed69 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 88517757a829e9ce146a6c7233ad5dcdc66fcbb0 20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 88517757a829e9ce146a6c7233ad5dcdc66fcbb0 ba75ecb97d3f4e95d59002c13afb6519205be6cb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.165 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.128 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.75 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.16 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.6 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2025","cve_id":"71291","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/misc/bcm-vk/bcm_vk_msg.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"741c5a3a0cd893a4218fc0fc8c18403e54fcfb22","status":"affected","version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","versionType":"git"},{"lessThan":"ece3722169ba93734bfd1f06255e8ab7f19fe964","status":"affected","version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","versionType":"git"},{"lessThan":"aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb","status":"affected","version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","versionType":"git"},{"lessThan":"3842f93e6e29d5cc1dcb9e5bda70587b444bed69","status":"affected","version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","versionType":"git"},{"lessThan":"20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd","status":"affected","version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","versionType":"git"},{"lessThan":"ba75ecb97d3f4e95d59002c13afb6519205be6cb","status":"affected","version":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/misc/bcm-vk/bcm_vk_msg.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":"6.1.*","status":"unaffected","version":"6.1.165","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.128","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.75","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.16","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.165","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.128","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.75","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.16","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.6","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"5.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-05-11T21:57:21.624Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/741c5a3a0cd893a4218fc0fc8c18403e54fcfb22"},{"url":"https://git.kernel.org/stable/c/ece3722169ba93734bfd1f06255e8ab7f19fe964"},{"url":"https://git.kernel.org/stable/c/aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb"},{"url":"https://git.kernel.org/stable/c/3842f93e6e29d5cc1dcb9e5bda70587b444bed69"},{"url":"https://git.kernel.org/stable/c/20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd"},{"url":"https://git.kernel.org/stable/c/ba75ecb97d3f4e95d59002c13afb6519205be6cb"}],"title":"misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2025-71291","datePublished":"2026-05-06T11:32:23.223Z","dateReserved":"2026-05-06T11:31:45.509Z","dateUpdated":"2026-05-11T21:57:21.624Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-06 12:16:28","lastModifiedDate":"2026-05-13 21:04:54","problem_types":["CWE-476"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.165","matchCriteriaId":"3DD2C202-0D8D-4C7D-A980-CFCF610F7707"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.128","matchCriteriaId":"851E9353-6C09-4CC9-877E-E09DB164A3C2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.75","matchCriteriaId":"BCE16369-98ED-41CF-8995-DFDC10B288D2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.16","matchCriteriaId":"B4B8CDA9-BADF-4CF5-8B3B-702DE8EEA40B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"6.19.6","matchCriteriaId":"373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"71291","Ordinal":"1","Title":"misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_r","CVE":"CVE-2025-71291","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"71291","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_r"}]}}}