{"id":"CVE-2026-74566","summary":"keys: make keyring key-chunk byte order agree with keyring_diff_objects()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nkeys: make keyring key-chunk byte order agree with keyring_diff_objects()\n\nkeyring_get_key_chunk() loads description bytes into the index chunk low\naddress first, while keyring_diff_objects() numbers the first differing\nbit from the low end and folds the absolute byte index into the level\nwithout removing the inline-prefix offset the level already carries.\nThe two disagree on byte order and bit position, so the array can be\ntold two keys first differ at a bit that does not differ in the chunk\nthe walker uses, letting crafted descriptions collide into one node.\n\nLoad the chunk in the order keyring_diff_objects() assumes and drop the\ninline-prefix length when folding the byte index into the level.  This\nonly changes the in-memory ordering used to place keys within a keyring;\nadd, search and read of non-colliding keys are unaffected.","modified":"2026-08-18T03:31:20.017799350Z","published":"2026-08-15T12:28:07.628Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74566.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3d9f16c0b643ceac305526b2e2fe25c2c6166926"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58565eef0f8d861aae92abfb7658458d661cee17"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7269df3e7fcfa308e6a456305162f7788747bdbd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e5397a3fed0dee7779bd084bec3c0584db3c930"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd0f976ef89dce6db458bf75bc2cf51127becc41"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74566.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74566"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f771fde82051976a6fc0fd570f8b86de4a92124b"},{"fixed":"bd0f976ef89dce6db458bf75bc2cf51127becc41"},{"fixed":"7269df3e7fcfa308e6a456305162f7788747bdbd"},{"fixed":"3d9f16c0b643ceac305526b2e2fe25c2c6166926"},{"fixed":"7e5397a3fed0dee7779bd084bec3c0584db3c930"},{"fixed":"58565eef0f8d861aae92abfb7658458d661cee17"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74566.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"6.6.151"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.103"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74566.json"}}],"schema_version":"1.9.0"}