一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月25日

CVE-2026-97907 – In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btrtl: Don

未分类
📑 文章目录

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: btrtl: Don’t leak return code when parsing firmware format v2

When key_id from chip is zero, rtlbt_parse_firmware_v2() intentionally
ignores all security headers. However, the implementation simply breaks
from a switch statement and leaks uninitialized return code `rc’ (if the
first section is a security one) or the previous section’s `rc’.

Fix it by really skipping a loop with `continue’. For consistency and
readability, also do the same for the default case.