Linuxカーネルにおいて、以下の脆弱性が修正されました。Bluetoothにおけるsco_sock_timeoutによって引き起こされるuse-after-freeのバグを修正しました。sco接続が確立された後、scoソケットが解放されるとtimeout_workがスケジュールされ、scoの切断がタイムアウトかどうかを判断します。ソケットは後で解放されますが、sco_sock_timeout内で再び参照されます。その結果、use-after-freeのバグが発生します。根本的な原因は、CleanupスレッドとWorkerスレッド間での操作により、sco_sock_release - sco_sock_close - __sco_sock_close - sco_sock_set_timer - schedule_delayed_work、そしてsco_sock_killでsock_put(sk)が実行されメモリが解放される一方、Workerスレッドのsco_sock_timeoutでsock_hold(sk)が使用されることにあります。POCによってトリガーされたKASANレポートには、sco_sock_timeoutでのslab-use-after-freeの詳細なスタックトレースが示されています。解放済みの1024バイト領域の内部128バイトのアドレスに4バイトの書き込みが行われたことも報告されました。これにより、BluetoothのSCOソケットに関連するメモリ解放後の不正なアクセスによる脆弱性が判明し、今回修正されました。
Debian Debian GNU/Linux 10.0 Fedora Project Fedora 39 Fedora 40 Linux Linux Kernel 4.14.263 以上 4.15 未満 Linux Kernel 4.19.207 以上 4.19.314 未満 Linux Kernel 5.10.67 以上 5.10.217 未満 Linux Kernel 5.13.19 以上 5.14 未満 Linux Kernel 5.14.6 以上 5.15.159 未満 Linux Kernel 5.16 以上 6.1.91 未満 Linux Kernel 5.4.148 以上 5.4.276 未満 Linux Kernel 6.2 以上 6.6.31 未満 Linux Kernel 6.7 以上 6.8.10 未満 Linux Kernel 6.9
本脆弱性の影響を受ける製品の詳細については、ベンダ情報および参考情報をご確認ください。
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。
Debian Debian Mailing Lists : [SECURITY] [DLA 3843-1] linux-5.10 security update Debian Mailing Lists : [SECURITY] [DLA 3840-1] linux security update Fedora Project Fedora mailing-lists : [SECURITY] Fedora 39 Update: kernel-6.8.10-200.fc39 - package-announce - Fedora mailing-lists Fedora mailing-lists : [SECURITY] Fedora 40 Update: kernel-6.8.10-300.fc40 - package-announce - Fedora mailing-lists NetApp NetApp Advisory : NetApp Product Security
解放済みメモリの使用(CWE-416) [NVD評価]
CVE-2024-27398
National Vulnerability Database (NVD) : CVE-2024-27398 関連文書 : oss-security - Linux: Race can lead to UAF in net/bluetooth/sco.c: sco_sock_connect() 関連文書 : Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/bfab2c1f7940a232cd519e82fff137e308abfd93) 関連文書 : Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/1b33d55fb7355e27f8c82cd4ecd560f162469249) 関連文書 : Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/483bc08181827fc475643272ffb69c533007e546) 関連文書 : Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/3212afd00e3cda790fd0583cb3eaef8f9575a014) 関連文書 : oss-security - Re: Linux: Race can lead to UAF in net/bluetooth/sco.c: sco_sock_connect() (http://www.openwall.com/lists/oss-security/2024/11/30/2) 関連文書 : Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/33a6e92161a78c1073d90e27abe28d746feb0a53) 関連文書 : oss-security - Re: Linux: Race can lead to UAF in net/bluetooth/sco.c: sco_sock_connect() (http://www.openwall.com/lists/oss-security/2024/11/30/1) 関連文書 : Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/012363cb1bec5f33a7b94629ab2c1086f30280f2) 関連文書 : Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/50c2037fc28df870ef29d9728c770c8955d32178) 関連文書 : Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/6a18eeb1b3bbc67c20d9609c31dca6a69b4bcde5)
[2026年01月27日] 掲載