CVE-2024-44951
概要

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

serial: sc16is7xx: fix TX fifo corruption

Sometimes, when a packet is received on channel A at almost the same time
as a packet is about to be transmitted on channel B, we observe with a
logic analyzer that the received packet on channel A is transmitted on
channel B. In other words, the Tx buffer data on channel B is corrupted
with data from channel A.

The problem appeared since commit 4409df5866b7 ("serial: sc16is7xx: change
EFR lock to operate on each channels"), which changed the EFR locking to
operate on each channel instead of chip-wise.

This commit has introduced a regression, because the EFR lock is used not
only to protect the EFR registers access, but also, in a very obscure and
undocumented way, to protect access to the data buffer, which is shared by
the Tx and Rx handlers, but also by each channel of the IC.

Fix this regression first by switching to kfifo_out_linear_ptr() in
sc16is7xx_handle_tx() to eliminate the need for a shared Rx/Tx buffer.

Secondly, replace the chip-wise Rx buffer with a separate Rx buffer for
each channel.

公表日 2024年9月5日4:15
登録日 2024年9月5日12:00
最終更新日 2024年10月9日23:27
CVSS3.1 : HIGH
スコア 7.8
ベクター CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 6.10.5
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7.3 6.8
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.15 6.7
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.76 6.2
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Linux の Linux Kernel におけるリソースのロックに関する脆弱性
タイトル Linux の Linux Kernel におけるリソースのロックに関する脆弱性
概要

Linux の Linux Kernel には、リソースのロックに関する脆弱性が存在します。

想定される影響 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 
対策

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2024年7月31日0:00
登録日 2024年10月10日10:26
最終更新日 2024年10月10日10:26
影響を受けるシステム
Linux
Linux Kernel 6.1.76 以上 6.2 未満
Linux Kernel 6.11
Linux Kernel 6.6.15 以上 6.7 未満
Linux Kernel 6.7.3 以上 6.8 未満
Linux Kernel 6.8 以上 6.10.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2024年10月10日]
  掲載
2024年10月10日10:26