In the Linux kernel, the following vulnerability has been resolved: xfrm: iptfs: fix use-after-free on first_skb in __input_process_payload
위협 신호 · CVSS · EPSS · KEV
이론적 심각도 점수
30일 내 악용 확률 예측
실측 악용 기록 없음
2주 이내 패치 — 우선 조치 대상
CVSS 벡터 · 메트릭
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H약점 (CWE)
- CWE-416
Use-After-Free — 해제된 메모리를 다시 사용해 충돌·코드 실행 유발.
상세 설명
In the Linux kernel, the following vulnerability has been resolved:
xfrm: iptfs: fix use-after-free on first_skb in __input_process_payload
__input_process_payload() stores first_skb into xtfs->ra_newskb under
drop_lock when starting partial reassembly, then unlocks and breaks out
of the processing loop. The post-loop check reads xtfs->ra_newskb
without the lock to decide whether first_skb is still owned:
1if (first_skb && first_iplen && !defer && first_skb != xtfs->ra_newskb)Between spin_unlock and this read, a concurrent CPU running
iptfs_reassem_cont() (or the drop_timer hrtimer) can complete
reassembly, NULL xtfs->ra_newskb, and free the skb. The check then
evaluates first_skb != NULL as true, and pskb_trim/ip_summed/consume_skb
operate on the freed skb — a use-after-free in skbuff_head_cache.
Replace the unlocked read with a local bool that records whether
first_skb was handed to the reassembly state in the current call. The
flag is set after the existing spin_unlock, before the break, using the
pointer equality that is stable at that point (first_skb == skb iff
first_skb was stored in ra_newskb).
AI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.
영향받는 제품·버전
- linux linux_kernel6.14 - 6.18.36linux
- linux linux_kernel6.19 - 7.0.13linux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
영향받는 구성 (CPE) 8
- linux linux_kernel≥ 6.14 < 6.18.36cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:*