{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-49847 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-49847 is a medium-severity use after free vulnerability in Linux kernel, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-49847 and fix it if it is affected.\n\nWhat it is: CVE-2022-49847 is a medium-severity use after free vulnerability in Linux kernel, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-49847 in the wild and no public exploit code.\n\nAffected product: Linux kernel. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-49847/ (Markdown: https://insights.sbomify.com/CVE-2022-49847/index.md)","id":"CVE-2022-49847","markdown":"https://insights.sbomify.com/CVE-2022-49847/index.md","name":"CVE-2022-49847","record":{"aliases":["DEBIAN-CVE-2022-49847","GHSA-f24m-gff5-ch5w","UBUNTU-CVE-2022-49847"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel driver","requires_auth":"low_privilege","summary":"A use-after-free vulnerability in the TI AM65 CPSW network driver causes a kernel segmentation fault during module unload, leading to denial of service.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethernet: ti: am65-cpsw: Fix segmentation fault at module unload\n\nMove am65_cpsw_nuss_phylink_cleanup() call to after\nam65_cpsw_nuss_cleanup_ndev() so phylink is still valid\nto prevent the below Segmentation fault on module remove when\nfirst slave link is up.\n\n[   31.652944] Unable to handle kernel paging request at virtual address 00040008000005f4\n[   31.684627] Mem abort info:\n[   31.687446]   ESR = 0x0000000096000004\n[   31.704614]   EC = 0x25: DABT (current EL), IL = 32 bits\n[   31.720663]   SET = 0, FnV = 0\n[   31.723729]   EA = 0, S1PTW = 0\n[   31.740617]   FSC = 0x04: level 0 translation fault\n[   31.756624] Data abort info:\n[   31.759508]   ISV = 0, ISS = 0x00000004\n[   31.776705]   CM = 0, WnR = 0\n[   31.779695] [00040008000005f4] address between user and kernel address ranges\n[   31.808644] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP\n[   31.814928] Modules linked in: wlcore_sdio wl18xx wlcore mac80211 libarc4 cfg80211 rfkill crct10dif_ce phy_gmii_sel ti_am65_cpsw_nuss(-) sch_fq_codel ipv6\n[   31.828776] CPU: 0 PID: 1026 Comm: modprobe Not tainted 6.1.0-rc2-00012-gfabfcf7dafdb-dirty #160\n[   31.837547] Hardware name: Texas Instruments AM625 (DT)\n[   31.842760] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)\n[   31.849709] pc : phy_stop+0x18/0xf8\n[   31.853202] lr : phylink_stop+0x38/0xf8\n[   31.857031] sp : ffff80000a0839f0\n[   31.860335] x29: ffff80000a0839f0 x28: ffff000000de1c80 x27: 0000000000000000\n[   31.867462] x26: 0000000000000000 x25: 0000000000000000 x24: ffff80000a083b98\n[   31.874589] x23: 0000000000000800 x22: 0000000000000001 x21: ffff000001bfba90\n[   31.881715] x20: ffff0000015ee000 x19: 0004000800000200 x18: 0000000000000000\n[   31.888842] x17: ffff800076c45000 x16: ffff800008004000 x15: 000058e39660b106\n[   31.895969] x14: 0000000000000144 x13: 0000000000000144 x12: 0000000000000000\n[   31.903095] x11: 000000000000275f x10: 00000000000009e0 x9 : ffff80000a0837d0\n[   31.910222] x8 : ffff000000de26c0 x7 : ffff00007fbd6540 x6 : ffff00007fbd64c0\n[   31.917349] x5 : ffff00007fbd0b10 x4 : ffff00007fbd0b10 x3 : ffff00007fbd3920\n[   31.924476] x2 : d0a07fcff8b8d500 x1 : 0000000000000000 x0 : 0004000800000200\n[   31.931603] Call trace:\n[   31.934042]  phy_stop+0x18/0xf8\n[   31.937177]  phylink_stop+0x38/0xf8\n[   31.940657]  am65_cpsw_nuss_ndo_slave_stop+0x28/0x1e0 [ti_am65_cpsw_nuss]\n[   31.947452]  __dev_close_many+0xa4/0x140\n[   31.951371]  dev_close_many+0x84/0x128\n[   31.955115]  unregister_netdevice_many+0x130/0x6d0\n[   31.959897]  unregister_netdevice_queue+0x94/0xd8\n[   31.964591]  unregister_netdev+0x24/0x38\n[   31.968504]  am65_cpsw_nuss_cleanup_ndev.isra.0+0x48/0x70 [ti_am65_cpsw_nuss]\n[   31.975637]  am65_cpsw_nuss_remove+0x58/0xf8 [ti_am65_cpsw_nuss]","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"net: ethernet: ti: am65-cpsw: Fix segmentation fault at module unload","id":"CVE-2022-49847","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"use_after_free","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"phy: qcom-qmp-combo: fix NULL-deref on runtime resume","id":"CVE-2022-49848"},"packages":[],"prev":{"headline":"udf: Fix a slab-out-of-bounds write bug in udf_find_entry()","id":"CVE-2022-49846"},"products":["Linux"],"published":"2025-05-01","related":[{"cvss_score":8.8,"headline":"Linux Kernel Out-of-Bounds Write","id":"CVE-2026-53266","kev_date_added":"2026-09-18","published":"2026-06-25"},{"cvss_score":8.8,"headline":"Linux Kernel Improper Input Validation","id":"CVE-2013-6282","kev_date_added":"2022-09-15","published":"2013-11-19"},{"cvss_score":8.4,"headline":"Linux Kernel Heap-Based Buffer Overflow","id":"CVE-2022-0185","kev_date_added":"2024-08-21","published":"2022-02-11"},{"cvss_score":8.4,"headline":"Linux Kernel Privilege Escalation","id":"CVE-2013-2094","kev_date_added":"2022-09-15","published":"2013-05-14"},{"cvss_score":7.8,"headline":"Linux Kernel Unspecified","id":"CVE-2026-53362","kev_date_added":"2026-08-27","published":"2026-07-04"},{"cvss_score":7.8,"headline":"Linux Kernel Missing Initialization of a Variable","id":"CVE-2026-46300","kev_date_added":"2026-10-28","published":"2026-05-23"},{"cvss_score":7.8,"headline":"Linux Kernel Race Condition","id":"CVE-2025-39964","kev_date_added":"2026-09-18","published":"2025-10-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-05-11","vendors":["Linux"]},"summary":"A use-after-free vulnerability in the TI AM65 CPSW network driver causes a kernel segmentation fault during module unload, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2022-49847/"}