{"schema_version":"1.7.5","id":"CVE-2025-71231","published":"2026-02-18T14:53:15.668Z","modified":"2026-07-15T01:49:20.815647353Z","related":["SUSE-SU-2026:0962-1","SUSE-SU-2026:1041-1","SUSE-SU-2026:1081-1","SUSE-SU-2026:1573-1","SUSE-SU-2026:20667-1","SUSE-SU-2026:20720-1","SUSE-SU-2026:20838-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20873-1","SUSE-SU-2026:20876-1","SUSE-SU-2026:20931-1","SUSE-SU-2026:21114-1","SUSE-SU-2026:21123-1","SUSE-SU-2026:21284-1","openSUSE-SU-2026:10387-1","openSUSE-SU-2026:20416-1"],"summary":"crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode\n\nThe local variable 'i' is initialized with -EINVAL, but the for loop\nimmediately overwrites it and -EINVAL is never returned.\n\nIf no empty compression mode can be found, the function would return the\nout-of-bounds index IAA_COMP_MODES_MAX, which would cause an invalid\narray access in add_iaa_compression_mode().\n\nFix both issues by returning either a valid index or -EINVAL.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b190447e0fa3ef7355480d641d078962e03768b4"},{"fixed":"c77b33b58512708bd5603f48465f018c8b748847"},{"fixed":"d75207465eed20bc9b0daa4a0927de9568996067"},{"fixed":"de16f5bca05cace238d237791ed1b6e9d22dab60"},{"fixed":"48329301969f6d21b2ef35f678e40f72b59eac94"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71231.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.12.72"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71231.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/48329301969f6d21b2ef35f678e40f72b59eac94"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c77b33b58512708bd5603f48465f018c8b748847"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d75207465eed20bc9b0daa4a0927de9568996067"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de16f5bca05cace238d237791ed1b6e9d22dab60"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71231.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71231"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71231.json"}}