DEBIAN-CVE-2026-99222: Debian/linux vulnerability

Published Nov 2, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved: keys: Protect the read method check against type removal keyctlreadkey() checks key->type->read without holding key->sem. A reference keeps the key alive, but does not pin the module containing its type. A surviving RxRPC key can therefore be read while AFRXRPC is being unloaded: KEYCTLREAD task Module unload and key GC ---------------- ------------------------ lookupuserkey() permission / possession checks load key->type afrxrpcexit() unregisterkeytype() GC: downwrite(key->sem) GC: retype to keytypedead GC: upwrite(key->sem) unregisterkeytype() returns freemodule() read saved type's read member The final access can read freed module storage. The read invocation in keyctlreadkey() is already protected by key->sem, but the earlier method check is outside that critical section. Move the method check into keyctlreadkey(), after keyvalidate() and under its existing read hold on key->sem. The check and invocation then use the same protected type for length queries and every read retry. The GC cannot retype the key until the semaphore is released, and type unregistration waits for that GC pass before the module can be freed. Return -EOPNOTSUPP when validation succeeds and the type has no read method. A temporary buffer may now be allocated before this result; allocation and copying to userspace remain outside the semaphore.

Affected Software

3 affected componentsFixes available
debian/linux*
debian/linux<6.12.115-1
6.12.115-1
debian/linux*

Event History

Nov 2, 2026
CVE Published
via OSV·04:17 PM
Data Sourced
via OSV·04:17 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203