cve-ja
← 新着
CVE

ログインした利用者が、特定の操作でメモリの二重解放を起こせるおそれ。

エラー処理での二重解放。対象は Linux kernel(6.6.163 未満・6.12.118 未満・6.18.64 未満・7.3.4 未満・7.4-rc1 未満)。

CVE-2026-138850参考情報

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
7.8
High
CNA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
12/6 時点
修正
修正版あり
6.6.163・6.12.118・6.18.64・7.3.4・7.4-rc1 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Linux カーネルを、お使いの系統の修正版(6.6.163、6.12.118、6.18.64、7.3.4 のいずれか以降)に更新する
公開
2026年11月30日
最終更新
2026年11月30日
優先度の理由
—
最終確認
2026年12月5日
EPSS
0.20%
PoC
見つかっていない
攻撃の条件
手元の操作・一般のログインが要る・相手の操作は要らない
国内
まだ無い

概要

ログインした利用者が、特定の操作でメモリの二重解放を起こせるおそれ。

元の説明(英語)を読む

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix double-free in fastrpc_map_attach() error path map->table is assigned right after dma_buf_map_attachment_unlocked() succeeds. The two failure checks that follow, the len > map->size test and, where subsystem VMIDs are configured, a failed qcom_scm_assign_mem(), jump to map_err with map->table already set. map_err manually calls dma_buf_detach() and dma_buf_put() and then falls through to fastrpc_map_put(). Since that change the error path tail is fastrpc_map_put() -> fastrpc_free_map(), and fastrpc_free_map() already unmaps, detaches and puts the dma-buf whenever map->table is set. The two operations therefore run twice: the second dma_buf_put() drops an extra reference on map->buf, and dma_buf_unmap_attachment_unlocked() dereferences the map->attach already freed by the manual dma_buf_detach(). kref_init() sets the refcount to 1 with no intervening get, so the final fastrpc_map_put() frees the map synchronously and the redundant cleanup is deterministic. The len > map->size branch is reachable by an unprivileged process via FASTRPC_IOCTL_MEM_MAP with an fd whose dma-buf is smaller than the requested length, before any DSP invocation. Route both map->table-is-set failure branches to get_err instead of map_err, so fastrpc_free_map() is the single owner of the unmap/detach/put sequence. map_err is retained for the dma_buf_map_attachment_unlocked() failure, which is reached with map->table still NULL and an attachment that fastrpc_free_map() will not clean up, so its dma_buf_detach()/dma_buf_put() must still run manually.

影響を受ける人

fastrpc を使う Linux 機器の管理者

対策

  • Linux カーネルを、お使いの系統の修正版(6.6.163、6.12.118、6.18.64、7.3.4 のいずれか以降)に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月30日・一次情報
脆弱性が公開された

影響する版

Linux Linux範囲は告知を確認
Linux Linux6.6.163 未満が対象(6.6.163 で修正)・6.12.118 未満が対象(6.12.118 で修正)・6.18.64 未満が対象(6.18.64 で修正)・7.3.4 未満が対象(7.3.4 で修正)・7.4-rc1 未満が対象(7.4-rc1 で修正)