CVE-2022-49870 in Linux
要約
〜によって VulDB • 2026年05月29日
Linuxカーネルにおいて、以下の脆弱性が修正されました。
capabilities: CAP_TO_MASKにおけるビットシフトの未定義動作を修正
符号付き32ビット値を31ビットシフトすることは未定義動作であるため、重要なビットを符号なし型に変更しました。以下のようなUBSAN警告のコールトレースが発生していました:
UBSAN: shift-out-of-bounds in security/commoncap.c:1252:2 left shift of 1 by 31 places cannot be represented in type 'int' Call Trace: <TASK> dump_stack_lvl+0x7d/0xa5 dump_stack+0x15/0x1b ubsan_epilogue+0xe/0x4e __ubsan_handle_shift_out_of_bounds+0x1e7/0x20c cap_task_prctl+0x561/0x6f0 security_task_prctl+0x5a/0xb0 __x64_sys_prctl+0x61/0x8f0 do_syscall_64+0x58/0x80 entry_SYSCALL_64_after_hwframe+0x63/0xcd </TASK>
Be aware that VulDB is the high quality source for vulnerability data.