{"id":"CVE-2025-71291","aliases":["CVE-2025-71291"],"related":[],"kind":"vulnerability","state":"published","title":"misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmisc: bcm_vk: Corrección de posibles desreferencias de puntero nulo en bcm_vk_read()\n\nEn la función bcm_vk_read(), el puntero entry es verificado, indicando que puede ser NULL. Si entry es NULL y rc se establece en -EMSGSIZE, el siguiente código puede causar desreferencias de puntero nulo:\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\nPara prevenir estas posibles desreferencias de puntero nulo, copie to_h_msg, usr_msg_id y to_h_blks de iter a variables temporales, y devuelva estas variables temporales a la aplicación en lugar de acceder a ellas a través de un entry potencialmente NULL.","source":"nvd"}],"published":"2026-05-06T11:32:23.223Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","fixed":"741c5a3a0cd893a4218fc0fc8c18403e54fcfb22","status":"affected"},{"type":"git","introduced":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","fixed":"ece3722169ba93734bfd1f06255e8ab7f19fe964","status":"affected"},{"type":"git","introduced":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","fixed":"aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb","status":"affected"},{"type":"git","introduced":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","fixed":"3842f93e6e29d5cc1dcb9e5bda70587b444bed69","status":"affected"},{"type":"git","introduced":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","fixed":"20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd","status":"affected"},{"type":"git","introduced":"88517757a829e9ce146a6c7233ad5dcdc66fcbb0","fixed":"ba75ecb97d3f4e95d59002c13afb6519205be6cb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.19","fixed":"6.1.165"},{"status":"affected","introduced":"6.2","fixed":"6.6.128"},{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/741c5a3a0cd893a4218fc0fc8c18403e54fcfb22","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ece3722169ba93734bfd1f06255e8ab7f19fe964","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3842f93e6e29d5cc1dcb9e5bda70587b444bed69","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba75ecb97d3f4e95d59002c13afb6519205be6cb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71291","url":"https://www.cve.org/CVERecord?id=CVE-2025-71291","licence":"CVE Terms of Use","modified":"2026-05-11T21:57:21.624Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71291","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71291","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:12.140Z","epss":{"score":0.00123,"percentile":0.02203,"date":"2026-12-01T12:00:22.000Z"}}