# CVE-2024-27394: tcp: Fix Use-After-Free in tcp_ao_connect_init

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2024-05-09T16:37:11.495Z
- Modified: 2026-08-05T11:29:28.125Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Linux

## Description

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

tcp: Fix Use-After-Free in tcp_ao_connect_init

Since call_rcu, which is called in the hlist_for_each_entry_rcu traversal
of tcp_ao_connect_init, is not part of the RCU read critical section, it
is possible that the RCU grace period will pass during the traversal and
the key will be free.

To prevent this, it should be changed to hlist_for_each_entry_safe.

(As written by CVE List.)

## Affected

- Linux Linux: from 7c2ffaf21bd67f73d21560995ce17eaf5fc1d37f before ca4fb6c6764b3f75b4f5aa81db1536291897ff7f; from 7c2ffaf21bd67f73d21560995ce17eaf5fc1d37f before 80e679b352c3ce5158f3f778cfb77eb767e586fb; 6.7 (not affected: before 6.7; from 6.8.9 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: 6.7; from 7c2ffaf21bd6 before ca4fb6c6764b; from 7c2ffaf21bd6 before 80e679b352c3; from 6.7 before 6.8.9; 6.9 (not affected: before 6.7; from 6.8.9 before 6.9; from 6.9 up to *)

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ca4fb6c6764b3f75b4f5aa81db1536291897ff7f> (patch)
- <https://git.kernel.org/stable/c/80e679b352c3ce5158f3f778cfb77eb767e586fb> (patch)

## Sources

- CVE List: [CVE-2024-27394](https://www.cve.org/CVERecord?id=CVE-2024-27394), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-27394](https://nvd.nist.gov/vuln/detail/CVE-2024-27394), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-27394 · Whole record: https://cve.day/CVE-2024-27394.json · Rebuilt by cve.day 2026-11-25T22:58:40.108Z
