{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-53186 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-53186 is a high-severity use after free vulnerability in Linux kernel, published on 15 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-53186 and fix it if it is affected.\n\nWhat it is: CVE-2023-53186 is a high-severity use after free vulnerability in Linux kernel, published on 15 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-53186 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-2023-53186/ (Markdown: https://insights.sbomify.com/CVE-2023-53186/index.md)","id":"CVE-2023-53186","markdown":"https://insights.sbomify.com/CVE-2023-53186/index.md","name":"CVE-2023-53186","record":{"aliases":["BELL-CVE-2023-53186","DEBIAN-CVE-2023-53186","GHSA-2937-wfx7-vxfg","RHSA-2025:17896","UBUNTU-CVE-2023-53186"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Linux kernel","requires_auth":"none","summary":"A race condition in Linux kernel SKB coalescing can lead to use-after-free or double-free errors, potentially allowing code execution or system crashes.","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":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nskbuff: Fix a race between coalescing and releasing SKBs\n\nCommit 1effe8ca4e34 (\"skbuff: fix coalescing for page_pool fragment\nrecycling\") allowed coalescing to proceed with non page pool page and page\npool page when @from is cloned, i.e.\n\nto-\u003epp_recycle    --\u003e false\nfrom-\u003epp_recycle  --\u003e true\nskb_cloned(from)  --\u003e true\n\nHowever, it actually requires skb_cloned(@from) to hold true until\ncoalescing finishes in this situation. If the other cloned SKB is\nreleased while the merging is in process, from_shinfo-\u003enr_frags will be\nset to 0 toward the end of the function, causing the increment of frag\npage _refcount to be unexpectedly skipped resulting in inconsistent\nreference counts. Later when SKB(@to) is released, it frees the page\ndirectly even though the page pool page is still in use, leading to\nuse-after-free or double-free errors. So it should be prohibited.\n\nThe double-free error message below prompted us to investigate:\nBUG: Bad page state in process swapper/1  pfn:0e0d1\npage:00000000c6548b28 refcount:-1 mapcount:0 mapping:0000000000000000\nindex:0x2 pfn:0xe0d1\nflags: 0xfffffc0000000(node=0|zone=1|lastcpupid=0x1fffff)\nraw: 000fffffc0000000 0000000000000000 ffffffff00000101 0000000000000000\nraw: 0000000000000002 0000000000000000 ffffffffffffffff 0000000000000000\npage dumped because: nonzero _refcount\n\nCPU: 1 PID: 0 Comm: swapper/1 Tainted: G            E      6.2.0+\nCall Trace:\n \u003cIRQ\u003e\ndump_stack_lvl+0x32/0x50\nbad_page+0x69/0xf0\nfree_pcp_prepare+0x260/0x2f0\nfree_unref_page+0x20/0x1c0\nskb_release_data+0x10b/0x1a0\nnapi_consume_skb+0x56/0x150\nnet_rx_action+0xf0/0x350\n? __napi_schedule+0x79/0x90\n__do_softirq+0xc8/0x2b1\n__irq_exit_rcu+0xb9/0xf0\ncommon_interrupt+0x82/0xa0\n\u003c/IRQ\u003e\n\u003cTASK\u003e\nasm_common_interrupt+0x22/0x40\nRIP: 0010:default_idle+0xb/0x20","ecosystems":["Red Hat:rhel_e4s:9.2::baseos"],"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":"skbuff: Fix a race between coalescing and releasing SKBs","id":"CVE-2023-53186","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"use_after_free","year":"2023"},"n_packages":15,"n_references":4,"next":{"headline":"btrfs: fix use-after-free of new block group that became unused","id":"CVE-2023-53187"},"packages":[{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-11.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_104_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_104_1","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-11.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_104_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_104_1-debuginfo","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-11.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_104_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_104_1-debugsource","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-8.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_117_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_117_1","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-8.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_117_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_117_1-debuginfo","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-8.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_117_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_117_1-debugsource","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-2.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_134_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_134_1","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-2.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_134_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_134_1-debuginfo","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-2.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_134_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_134_1-debugsource","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-15.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_79_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_79_1","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-15.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_79_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_79_1-debuginfo","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-15.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_79_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_79_1-debugsource","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-13.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_92_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_92_1","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-13.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_92_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_92_1-debuginfo","source":"RHSA-2025:17896"},{"ecosystem":"Red Hat:rhel_e4s:9.2::baseos","fixed":["0:1-13.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_92_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_92_1-debugsource","source":"RHSA-2025:17896"}],"prev":{"headline":"wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes","id":"CVE-2023-53185"},"products":["Linux"],"published":"2025-09-15","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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["Linux"]},"summary":"A race condition in Linux kernel SKB coalescing can lead to use-after-free or double-free errors, potentially allowing code execution or system crashes.","url":"https://insights.sbomify.com/CVE-2023-53186/"}