# CVE-2026-138846: vfio/mlx5: Fix boundary check in set_report_output()

- Severity: not scored yet
- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-11-30T13:25:31.720Z
- Modified: 2026-11-30T14:17:40.267Z
- Assigned by: Linux

## Description

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

vfio/mlx5: Fix boundary check in set_report_output()

Use > instead of >= on boundary check of recv_buf to avoid the bug which
the full message in the last slot of recv_buf is ignored even though the
received data size does not overflow the recv_buf.

(As written by CVE List.)

## Affected

- Linux Linux: from 97c22fd510c5d42eca74b8ef071ac78914bcac5b before 3f4eac17566540ac4932877654710f2d44832a36; from 032b4122a92ad1d9f6eed87a26b57a50fce85eee before 724829039c3ff257a2d62ada658a1228cdcac6ca; from ad4095d1259d037f9ce124bd6a6565ebbb4529d4 before 82e475e6f6743a92a25629a49e766ec2e3f0db03; from 9c7c5430bca36e9636eabbba0b3b53251479c7ab before 03c8debe85948e3950cda38b737777f9d7acdee1; from 9c7c5430bca36e9636eabbba0b3b53251479c7ab before 283fd5c240c0972fb8739c07522d82ae7188cb7c; from 9c7c5430bca36e9636eabbba0b3b53251479c7ab before 37b2ee6747b7857920ebc71eabc25208a39164a4; from 6.1.120 before 6.1.193; from 6.6.66 before 6.6.163; from 6.12.5 before 6.12.117; 6.13 (not affected: before 6.13; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/3f4eac17566540ac4932877654710f2d44832a36>
- <https://git.kernel.org/stable/c/724829039c3ff257a2d62ada658a1228cdcac6ca>
- <https://git.kernel.org/stable/c/82e475e6f6743a92a25629a49e766ec2e3f0db03>
- <https://git.kernel.org/stable/c/03c8debe85948e3950cda38b737777f9d7acdee1>
- <https://git.kernel.org/stable/c/283fd5c240c0972fb8739c07522d82ae7188cb7c>
- <https://git.kernel.org/stable/c/37b2ee6747b7857920ebc71eabc25208a39164a4>

## Sources

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

---

Page: https://cve.day/CVE-2026-138846 · Whole record: https://cve.day/CVE-2026-138846.json · Rebuilt by cve.day 2026-11-30T14:32:34.554Z
