{"id":"CVE-2026-97957","aliases":["CVE-2026-97957"],"related":[],"kind":"vulnerability","state":"published","title":"net: hinic: fix mailbox segment buffer overflow","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hinic: fix mailbox segment buffer overflow\n\ncheck_mbox_seq_id_and_seg_len() validates that seq_id does not\nexceed SEQ_ID_MAX_VAL (42) and seg_len does not exceed\nMBOX_SEG_LEN (48).  However, this allows the last segment\n(seq_id=42) to carry a full 48-byte payload, writing to offset\n42*48=2016 for 48 bytes (ending at byte 2064).  The receive\nbuffer is only MBOX_MAX_BUF_SZ (2048) bytes, resulting in a\n16-byte heap buffer overflow.\n\nThe hinic3 driver already handles this correctly by defining\nMBOX_LAST_SEG_MAX_LEN and rejecting the last segment when it\nexceeds the remaining buffer space.  Apply the same fix to the\nhinic driver.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hinic: fix mailbox segment buffer overflow\n\ncheck_mbox_seq_id_and_seg_len() validates that seq_id does not\nexceed SEQ_ID_MAX_VAL (42) and seg_len does not exceed\nMBOX_SEG_LEN (48).  However, this allows the last segment\n(seq_id=42) to carry a full 48-byte payload, writing to offset\n42*48=2016 for 48 bytes (ending at byte 2064).  The receive\nbuffer is only MBOX_MAX_BUF_SZ (2048) bytes, resulting in a\n16-byte heap buffer overflow.\n\nThe hinic3 driver already handles this correctly by defining\nMBOX_LAST_SEG_MAX_LEN and rejecting the last segment when it\nexceeds the remaining buffer space.  Apply the same fix to the\nhinic driver.","source":"cvelist"}],"published":"2026-09-25T10:23:03.153Z","modified":"2026-10-19T10:17:46.987Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c","fixed":"7cc974799fde846eda2d8f00ad4f8e1810eb0499","status":"affected"},{"type":"git","introduced":"a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c","fixed":"8de1e23bd91fe3a6683e4bc574e2d6bcb0eef920","status":"affected"},{"type":"git","introduced":"a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c","fixed":"72be1fd5d256dde748c0905c5e1749a119cad5bd","status":"affected"},{"type":"git","introduced":"a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c","fixed":"c622bbc212207d7c6bbd69dd88f0c3a3f5853d16","status":"affected"},{"type":"git","introduced":"a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c","fixed":"eca54a092d5f7b497b458ff5a6f66d4f7bfb6674","status":"affected"},{"type":"git","introduced":"a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c","fixed":"9f6ad383901d0cb1c8ea5f7f3160fabfe1540eb5","status":"affected"},{"type":"git","introduced":"a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c","fixed":"513f7b16ed0cffae9348151c72bed17c7073096f","status":"affected"},{"type":"git","introduced":"a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c","fixed":"5d4d985957434867bbe85e4fa5e638f3e48ad522","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7cc974799fde846eda2d8f00ad4f8e1810eb0499","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8de1e23bd91fe3a6683e4bc574e2d6bcb0eef920","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72be1fd5d256dde748c0905c5e1749a119cad5bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c622bbc212207d7c6bbd69dd88f0c3a3f5853d16","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eca54a092d5f7b497b458ff5a6f66d4f7bfb6674","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f6ad383901d0cb1c8ea5f7f3160fabfe1540eb5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/513f7b16ed0cffae9348151c72bed17c7073096f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d4d985957434867bbe85e4fa5e638f3e48ad522","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97957","url":"https://www.cve.org/CVERecord?id=CVE-2026-97957","licence":"CVE Terms of Use","modified":"2026-10-19T09:11:23.333Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97957","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97957","licence":"Public domain","modified":"2026-10-19T10:17:46.987Z"}],"updatedAt":"2026-11-25T22:59:41.003Z","epss":{"score":0.00143,"percentile":0.03799,"date":"2026-12-01T12:00:22.000Z"}}