crypto: qat - remove unused character device and IOCTLs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.95, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: qat - remove unused character device and IOCTLs The QAT driver exposes a character device (qat_adf_ctl) with IOCTLs for device configuration, start, stop, status query and enumeration. These IOCTLs are not part of any public uAPI header and have no known in-tree or out-of-tree users. Device lifecycle is already managed via sysfs. The ioctl interface also increases the attack surface and is the subject of a number of bug reports. Remove the character device, the IOCTL definitions, and the related data structures (adf_dev_status_info, adf_user_cfg_key_val, adf_user_cfg_section, adf_user_cfg_ctl_data). Drop the now-unused adf_cfg_user.h header and strip adf_ctl_drv.c down to the minimal module_init/module_exit hooks for workqueue, AER, and crypto/compression algorithm registration. Clean up leftover dead code that was only reachable from the removed IOCTL paths: adf_cfg_del_all(), adf_devmgr_verify_id(), adf_devmgr_get_num_dev(), adf_devmgr_get_dev_by_id(), adf_get_vf_real_id() and the unused ADF_CFG macros. Additionally, drop the entry associated to QAT IOCTLs in ioctl-number.rst.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in 071590a44cbc38483fceb1ab943363ec26868e1b; From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in 1de076f43e64bf65fbe7280a269c70e0e60518df; From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in a4999664a5ef77bdb0c6e6b935f581ac8ce6b63a; From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in 6848a6e39cac44fdb7cb88f0f777df62172d1551; From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in b1ea97076bd0a5196290deba172034e480646727; From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in b8ebf008696de1ec08c90d51f94d7e40bd448be1; From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in de2cc38489b629927910b1aeff69bba7bd5c6f1b; From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in 3ae49dd04dbb11fb73f17f58a982dba128abe83a; From d8cba25d2c68992a6e7c1d329b690a9ebe01167d · fixed in d237230728c567297f2f98b425d63156ab2ed17f
- Linux Linux
3.17
- KernelLinux
From 3.17.0 · fixed in 5.10.260; From 5.11.0 · fixed in 5.15.211; From 5.16.0 · fixed in 6.1.177; From 6.2.0 · fixed in 6.6.144; From 6.7.0 · fixed in 6.12.95; From 6.13.0 · fixed in 6.18.37; From 6.19.0 · fixed in 7.0.14; From 7.1.0 · fixed in 7.1.2
References 9
git.kernel.org
- stable/c/071590a44cbc38483fceb1ab943363ec26868e1b
- stable/c/1de076f43e64bf65fbe7280a269c70e0e60518df
- stable/c/a4999664a5ef77bdb0c6e6b935f581ac8ce6b63a
- stable/c/6848a6e39cac44fdb7cb88f0f777df62172d1551
- stable/c/b1ea97076bd0a5196290deba172034e480646727
- stable/c/b8ebf008696de1ec08c90d51f94d7e40bd448be1
- stable/c/de2cc38489b629927910b1aeff69bba7bd5c6f1b
- stable/c/3ae49dd04dbb11fb73f17f58a982dba128abe83a
- stable/c/d237230728c567297f2f98b425d63156ab2ed17f