# CVE-2022-48804: vt_ioctl: fix array_index_nospec in vt_setactivate

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.31%, higher than 25% of CVEs (2026-12-02)
- Published: 2024-07-16T11:43:56.278Z
- Modified: 2026-06-17T05:16:14.183Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

vt_ioctl: fix array_index_nospec in vt_setactivate

array_index_nospec ensures that an out-of-bounds value is set to zero
on the transient path. Decreasing the value by one afterwards causes
a transient integer underflow. vsa.console should be decreased first
and then sanitized with array_index_nospec.

Kasper Acknowledgements: Jakob Koschel, Brian Johannesmeyer, Kaveh
Razavi, Herbert Bos, Cristiano Giuffrida from the VUSec group at VU
Amsterdam.

(As written by CVE List.)

## Affected

- Linux Linux: from 0ec459ec174031fad02a55e622cf2fc0d2e75a25 before 830c5aa302ec16b4ee641aec769462c37f802c90; from 4334a6ae867aa12f01c1755368fd0de4c926ac75 before 2a45a6bd1e6d651770aafff57ab3e1d3bb0b42e0; from e97267cb4d1ee01ca0929638ec0fcbb0904f903d before 170325aba4608bde3e7d21c9c19b7bc266ac0885; from e97267cb4d1ee01ca0929638ec0fcbb0904f903d before ae3d57411562260ee3f4fd5e875f410002341104; from e97267cb4d1ee01ca0929638ec0fcbb0904f903d before 778302ca09498b448620edd372dc908bebf80bdf; from e97267cb4d1ee01ca0929638ec0fcbb0904f903d before ffe54289b02e9c732d6f04c8ebbe3b2d90d32118; from e97267cb4d1ee01ca0929638ec0fcbb0904f903d before 6550bdf52846f85a2a3726a5aa0c7c4399f2fc02; from e97267cb4d1ee01ca0929638ec0fcbb0904f903d before 61cc70d9e8ef5b042d4ed87994d20100ec8896d9; 458697ab18b512445ac273ce68a9f8fd623fc0a3; 1aa698b65186c13ed775896ed1dfec7c26c73d60; 52ef74c21c277e50de771fc722d814a830b3036b; from 4.9.130 before 4.9.302; and 5 more (not affected: before 4.19; from 4.9.302 up to 4.9.*; from 4.14.267 up to 4.14.*; from 4.19.230 up to 4.19.*; from 5.4.180 up to 5.4.*; from 5.10.101 up to 5.10.*; from 5.15.24 up to 5.15.*; from 5.16.10 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: before 4.9.302; from 4.10 before 4.14.267; from 4.15 before 4.19.320; from 4.20 before 5.4.180; from 5.5 before 5.10.101; from 5.11 before 5.15.24; from 5.16 before 5.16.10; 5.17

## References

- <https://git.kernel.org/stable/c/830c5aa302ec16b4ee641aec769462c37f802c90> (patch)
- <https://git.kernel.org/stable/c/2a45a6bd1e6d651770aafff57ab3e1d3bb0b42e0> (patch)
- <https://git.kernel.org/stable/c/170325aba4608bde3e7d21c9c19b7bc266ac0885> (patch)
- <https://git.kernel.org/stable/c/ae3d57411562260ee3f4fd5e875f410002341104> (patch)
- <https://git.kernel.org/stable/c/778302ca09498b448620edd372dc908bebf80bdf> (patch)
- <https://git.kernel.org/stable/c/ffe54289b02e9c732d6f04c8ebbe3b2d90d32118> (patch)
- <https://git.kernel.org/stable/c/6550bdf52846f85a2a3726a5aa0c7c4399f2fc02> (patch)
- <https://git.kernel.org/stable/c/61cc70d9e8ef5b042d4ed87994d20100ec8896d9> (patch)

## Sources

- CVE List: [CVE-2022-48804](https://www.cve.org/CVERecord?id=CVE-2022-48804), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2022-48804](https://nvd.nist.gov/vuln/detail/CVE-2022-48804), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48804 · Whole record: https://cve.day/CVE-2022-48804.json · Rebuilt by cve.day 2026-11-25T22:58:19.891Z
