{"id":"AZL-115537","summary":"CVE-2026-99692 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: stop recovery before shutting down local allocators\n\nRecovery completion needs the local allocators until it has finished\nreclaiming a failed node's allocation window and truncate log.  During\nunmount, quota recovery is stopped first, but that leaves recovery_state\nat OCFS2_REC_QUOTA_DISABLED.  New non-quota recovery can still start.\n\nocfs2_truncate_log_shutdown() drains existing completion work and releases\nosb_tl_bh before ocfs2_recovery_exit() closes that publication path:\n\n  Unmount                             Recovery\n  -------                             --------\n  stop quota recovery; disable quotas\n  truncate_log_shutdown()\n    flush existing completion work\n                                      recover another failed node\n                                        queue completion\n    flush local log; release buffer\n                                      complete_truncate_log_recovery()\n                                        use released osb_tl_bh\n  recovery_exit(): disable and drain\n\nAn extra buffer reference alone would still let completion append new\nrecords after the final truncate-log flush.\n\nSplit stopping and draining recovery from freeing its state. Stop all\nrecovery producers and drain completion work before shutting down either\nlocal allocator. Keep recovery-state release at its existing later point,\nso its lifetime relative to other teardown users stays unchanged. The\nsecond stop at recovery_exit() is harmless once recovery is disabled.\n\nKASAN report as below:\n\n    BUG: KASAN: slab-use-after-free in ocfs2_truncate_log_needs_flush+0x23d/0x360\n    Read of size 8 at addr ffff8881093711e8 by task kworker/u16:3/53\n    \n    CPU: 0 UID: 0 PID: 53 Comm: kworker/u16:3 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy) \n    Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n    Workqueue: ocfs2_wq ocfs2_complete_recovery\n    Call Trace:\n     \u003cTASK\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? ocfs2_truncate_log_needs_flush+0x23d/0x360\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20e/0x420\n     ? ocfs2_truncate_log_needs_flush+0x23d/0x360\n     kasan_report+0xe0/0x110\n     ? ocfs2_truncate_log_needs_flush+0x23d/0x360\n     ocfs2_truncate_log_needs_flush+0x23d/0x360\n     ? __pfx_ocfs2_truncate_log_needs_flush+0x10/0x10\n     ? __pfx_down_write+0x10/0x10\n     ocfs2_complete_truncate_log_recovery+0x315/0x780\n     ? trace_hardirqs_on+0x18/0x160\n     ? __pfx_ocfs2_complete_truncate_log_recovery+0x10/0x10\n     ? ocfs2_complete_recovery+0x666/0x11b0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? kfree+0x308/0x580\n     ocfs2_complete_recovery+0x676/0x11b0\n     ? __pfx_ocfs2_complete_recovery+0x10/0x10\n     ? reacquire_held_locks+0xdd/0x200\n     ? process_one_work+0x7c8/0x1b40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_acquire+0x190/0x300\n     ? __pfx_autoremove_wake_function+0x10/0x10\n     ? process_one_work+0x834/0x1b40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_release+0xc8/0x290\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     process_one_work+0x9a8/0x1b40\n     ? __pfx_process_one_work+0x10/0x10\n     ? lock_acquire+0x190/0x300\n     ? lock_is_held_type+0x8f/0x100\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     worker_thread+0x65c/0xe40\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __kthread_parkme+0x177/0x220\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_worker_thread+0x10/0x10\n     kthread+0x351/0x460\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork+0x659/0x940\n     ? __pfx_ret_from_fork+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __switch_to+0x74f/0xf70\n     ? __pfx_kthread+0x10/0x10\n     ret_from_fork_asm+0x1a/0x30\n     \u003c/TASK\u003e\n    \n    Allocated by task 538:\n     kasan_save_stack+0x33/0x60\n     kasan\n---truncated---","modified":"2026-11-21T14:17:23.719267444Z","published":"2026-11-20T06:18:04Z","upstream":["CVE-2026-99692"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99692"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-115537.json"}}],"schema_version":"1.9.2"}