CVE-2024-56651 can: hi311x: hi3110_can_ist(): fix potential use-after-free
설명
In the Linux kernel, the following vulnerability has been resolved: can: hi311x: hi3110_can_ist(): fix potential use-after-free The commit a22bd630cfff ("can: hi311x: do not report txerr and rxerr during bus-off") removed the reporting of rxerr and txerr even in case of correct operation (i. e. not bus-off). The error count information added to the CAN frame after netif_rx() is a potential use after free, since there is no guarantee that the skb is in the same state. It might be freed or reused. Fix the issue by postponing the netif_rx() call in case of txerr and rxerr reporting.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.14.291 이상 4.15 미만
- 4.19.256 이상 4.20 미만
- 5.4.211 이상 5.5 미만
- 5.10.137 이상 5.11 미만
- 5.15.61 이상 5.16 미만
- 5.18.18 이상 5.19 미만
- 5.19.2 이상 5.20 미만
- 6.0
해결 버전
- 4.15 이상
- 4.20 이상
- 5.5 이상
- 5.11 이상
- 5.16 이상
- 5.19 이상
- 5.20 이상
- 6.0 미만
외 3개 구간 펼치기
- 6.1.120 이상
- 6.6.66 이상
- 6.12.5 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/1128022009444faf49359bd406cd665b177cb643 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4ad77eb8f2e07bcfa0e28887d3c7dbb732d92cc1 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9ad86d377ef4a19c75a9c639964879a5b25a433b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/bc30b2fe8c54694f8ae08a5b8a5d174d16d93075 (새 창)