# CVE-2026-97957: net: hinic: fix mailbox segment buffer overflow

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:03.153Z
- Modified: 2026-10-19T10:17:46.987Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: hinic: fix mailbox segment buffer overflow

check_mbox_seq_id_and_seg_len() validates that seq_id does not
exceed SEQ_ID_MAX_VAL (42) and seg_len does not exceed
MBOX_SEG_LEN (48).  However, this allows the last segment
(seq_id=42) to carry a full 48-byte payload, writing to offset
42*48=2016 for 48 bytes (ending at byte 2064).  The receive
buffer is only MBOX_MAX_BUF_SZ (2048) bytes, resulting in a
16-byte heap buffer overflow.

The hinic3 driver already handles this correctly by defining
MBOX_LAST_SEG_MAX_LEN and rejecting the last segment when it
exceeds the remaining buffer space.  Apply the same fix to the
hinic driver.

(As written by CVE List.)

## Affected

- Linux Linux: from a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c before 7cc974799fde846eda2d8f00ad4f8e1810eb0499; from a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c before 8de1e23bd91fe3a6683e4bc574e2d6bcb0eef920; from a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c before 72be1fd5d256dde748c0905c5e1749a119cad5bd; from a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c before c622bbc212207d7c6bbd69dd88f0c3a3f5853d16; from a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c before eca54a092d5f7b497b458ff5a6f66d4f7bfb6674; from a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c before 9f6ad383901d0cb1c8ea5f7f3160fabfe1540eb5; from a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c before 513f7b16ed0cffae9348151c72bed17c7073096f; from a425b6e1c69ba907b72b737a4d44f8cfbc43ce3c before 5d4d985957434867bbe85e4fa5e638f3e48ad522; 5.8 (not affected: before 5.8; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/7cc974799fde846eda2d8f00ad4f8e1810eb0499>
- <https://git.kernel.org/stable/c/8de1e23bd91fe3a6683e4bc574e2d6bcb0eef920>
- <https://git.kernel.org/stable/c/72be1fd5d256dde748c0905c5e1749a119cad5bd>
- <https://git.kernel.org/stable/c/c622bbc212207d7c6bbd69dd88f0c3a3f5853d16>
- <https://git.kernel.org/stable/c/eca54a092d5f7b497b458ff5a6f66d4f7bfb6674>
- <https://git.kernel.org/stable/c/9f6ad383901d0cb1c8ea5f7f3160fabfe1540eb5>
- <https://git.kernel.org/stable/c/513f7b16ed0cffae9348151c72bed17c7073096f>
- <https://git.kernel.org/stable/c/5d4d985957434867bbe85e4fa5e638f3e48ad522>

## Sources

- CVE List: [CVE-2026-97957](https://www.cve.org/CVERecord?id=CVE-2026-97957), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97957](https://nvd.nist.gov/vuln/detail/CVE-2026-97957), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97957 · Whole record: https://cve.day/CVE-2026-97957.json · Rebuilt by cve.day 2026-11-25T22:59:41.003Z
