{"id":"CVE-2025-38184","summary":"tipc: fix null-ptr-deref when acquiring remote ip of ethernet bearer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: fix null-ptr-deref when acquiring remote ip of ethernet bearer\n\nThe reproduction steps:\n1. create a tun interface\n2. enable l2 bearer\n3. TIPC_NL_UDP_GET_REMOTEIP with media name set to tun\n\ntipc: Started in network mode\ntipc: Node identity 8af312d38a21, cluster identity 4711\ntipc: Enabled bearer \u003ceth:syz_tun\u003e, priority 1\nOops: general protection fault\nKASAN: null-ptr-deref in range\nCPU: 1 UID: 1000 PID: 559 Comm: poc Not tainted 6.16.0-rc1+ #117 PREEMPT\nHardware name: QEMU Ubuntu 24.04 PC\nRIP: 0010:tipc_udp_nl_dump_remoteip+0x4a4/0x8f0\n\nthe ub was in fact a struct dev.\n\nwhen bid != 0 && skip_cnt != 0, bearer_list[bid] may be NULL or\nother media when other thread changes it.\n\nfix this by checking media_id.","modified":"2026-03-20T12:42:43.560598Z","published":"2025-07-04T13:37:11.226Z","related":["MGASA-2025-0218","MGASA-2025-0219","SUSE-SU-2025:03204-1","SUSE-SU-2025:03272-1","SUSE-SU-2025:03283-1","SUSE-SU-2025:03290-1","SUSE-SU-2025:03301-1","SUSE-SU-2025:03344-1","SUSE-SU-2025:03382-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03613-1","SUSE-SU-2025:03626-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20653-1","SUSE-SU-2025:20669-1","SUSE-SU-2025:20739-1","SUSE-SU-2025:20756-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3716-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38184.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/05d332ba075753d569d66333d62d60fff5f57ad8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d3d91c3500f0c480e016faa4e2259c588616e59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0f4a72fb266e48dbe928e1d936eab149e4ac3e1b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3998283e4c32c0fe69edd59b0876c193f50abce6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8595350615f952fcf8bc861464a6bf6b1129af50"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2e17984752b9131061d1a2ca1199da2706337fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3dfe821dfe091c0045044343c8d86596d66e2cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f82727adcf2992822e12198792af450a76ebd5ef"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38184.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38184"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"832629ca5c313e122b22b8e73a6d80f111b1a1ae"},{"fixed":"3998283e4c32c0fe69edd59b0876c193f50abce6"},{"fixed":"c2e17984752b9131061d1a2ca1199da2706337fd"},{"fixed":"8595350615f952fcf8bc861464a6bf6b1129af50"},{"fixed":"05d332ba075753d569d66333d62d60fff5f57ad8"},{"fixed":"d3dfe821dfe091c0045044343c8d86596d66e2cf"},{"fixed":"0d3d91c3500f0c480e016faa4e2259c588616e59"},{"fixed":"0f4a72fb266e48dbe928e1d936eab149e4ac3e1b"},{"fixed":"f82727adcf2992822e12198792af450a76ebd5ef"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38184.json"}}],"schema_version":"1.7.5"}