🇰🇷 한글 설명
Linux 커널의 netfilter nf_tables 구성 요소에서 장치 삭제 시 훅(hook) 트랜잭션 처리 방식의 결함이 발견되었습니다. 기존 방식은 RCU로 보호되는 리스트를 읽는 과정에서 데이터 일관성을 깨뜨릴 수 있어, 삭제되는 훅을 별도의 트랜잭션 객체로 관리하도록 수정되었습니다.
💡 쉬운 설명
네트워크 규칙을 관리하는 시스템에서 규칙을 삭제할 때 데이터가 꼬여서 시스템 오류가 발생할 수 있는 문제입니다. 이를 방지하기 위해 삭제 과정을 더 안전하게 관리하도록 개선되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: add hook transactions for device deletions
Restore the flag that indicates that the hook is going away, ie.
NFT_HOOK_REMOVE, but add a new transaction object to track deletion
of hooks without altering the basechain/flowtable hook_list during
the preparation phase.
The existing approach that moves the hook from the basechain/flowtable
hook_list to transaction hook_list breaks netlink dump path readers
of this RCU-protected list.
It should be possible use an array for nft_trans_hook to store the
deleted hooks to compact the representation but I am not expecting
many hook object, specially now that wildcard support for devices
is in place.
Note that the nft_trans_chain_hooks() list contains a list of struct
nft_trans_hook objects for DELCHAIN and DELFLOWTABLE commands, while
this list stores struct nft_hook objects for NEWCHAIN and NEWFLOWTABLE.
Note that new commands can be updated to use nft_trans_hook for
consistency.
This patch also adapts the event notification path to deal with the list
of hook transactions.
📍 영향받는 시스템
Linux Kernel (netfilter/nf_tables 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 권한을 가진 공격자가 네트워크 규칙(hook)을 삭제하는 과정에서 커널의 데이터 구조를 조작하여 시스템 불안정성을 유도할 수 있음
🛡️ 대응 방법
해당 취약점이 해결된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인하십시오.
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux