{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-47536 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-47536 is a critical memory corruption vulnerability in Linux kernel, published on 24 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-47536 and fix it if it is affected.\n\nWhat it is: CVE-2021-47536 is a critical memory corruption vulnerability in Linux kernel, published on 24 May 2024. 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-2021-47536 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-2021-47536/ (Markdown: https://insights.sbomify.com/CVE-2021-47536/index.md)","id":"CVE-2021-47536","markdown":"https://insights.sbomify.com/CVE-2021-47536/index.md","name":"CVE-2021-47536","record":{"aliases":["DEBIAN-CVE-2021-47536","UBUNTU-CVE-2021-47536"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Linux kernel","requires_auth":"none","summary":"A bug in the Linux kernel's SMC module causes memory corruption and system crashes due to incorrect list deletion during cleanup.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix wrong list_del in smc_lgr_cleanup_early\n\nsmc_lgr_cleanup_early() meant to delete the link\ngroup from the link group list, but it deleted\nthe list head by mistake.\n\nThis may cause memory corruption since we didn't\nremove the real link group from the list and later\nmemseted the link group structure.\nWe got a list corruption panic when testing:\n\n[  231.277259] list_del corruption. prev-\u003enext should be ffff8881398a8000, but was 0000000000000000\n[  231.278222] ------------[ cut here ]------------\n[  231.278726] kernel BUG at lib/list_debug.c:53!\n[  231.279326] invalid opcode: 0000 [#1] SMP NOPTI\n[  231.279803] CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.10.46+ #435\n[  231.280466] Hardware name: Alibaba Cloud ECS, BIOS 8c24b4c 04/01/2014\n[  231.281248] Workqueue: events smc_link_down_work\n[  231.281732] RIP: 0010:__list_del_entry_valid+0x70/0x90\n[  231.282258] Code: 4c 60 82 e8 7d cc 6a 00 0f 0b 48 89 fe 48 c7 c7 88 4c\n60 82 e8 6c cc 6a 00 0f 0b 48 89 fe 48 c7 c7 c0 4c 60 82 e8 5b cc 6a 00 \u003c0f\u003e\n0b 48 89 fe 48 c7 c7 00 4d 60 82 e8 4a cc 6a 00 0f 0b cc cc cc\n[  231.284146] RSP: 0018:ffffc90000033d58 EFLAGS: 00010292\n[  231.284685] RAX: 0000000000000054 RBX: ffff8881398a8000 RCX: 0000000000000000\n[  231.285415] RDX: 0000000000000001 RSI: ffff88813bc18040 RDI: ffff88813bc18040\n[  231.286141] RBP: ffffffff8305ad40 R08: 0000000000000003 R09: 0000000000000001\n[  231.286873] R10: ffffffff82803da0 R11: ffffc90000033b90 R12: 0000000000000001\n[  231.287606] R13: 0000000000000000 R14: ffff8881398a8000 R15: 0000000000000003\n[  231.288337] FS:  0000000000000000(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000\n[  231.289160] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n[  231.289754] CR2: 0000000000e72058 CR3: 000000010fa96006 CR4: 00000000003706f0\n[  231.290485] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\n[  231.291211] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400\n[  231.291940] Call Trace:\n[  231.292211]  smc_lgr_terminate_sched+0x53/0xa0\n[  231.292677]  smc_switch_conns+0x75/0x6b0\n[  231.293085]  ? update_load_avg+0x1a6/0x590\n[  231.293517]  ? ttwu_do_wakeup+0x17/0x150\n[  231.293907]  ? update_load_avg+0x1a6/0x590\n[  231.294317]  ? newidle_balance+0xca/0x3d0\n[  231.294716]  smcr_link_down+0x50/0x1a0\n[  231.295090]  ? __wake_up_common_lock+0x77/0x90\n[  231.295534]  smc_link_down_work+0x46/0x60\n[  231.295933]  process_one_work+0x18b/0x350","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/smc: fix wrong list_del in smc_lgr_cleanup_early","id":"CVE-2021-47536","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"linux:linux_kernel","products":["linux:linux_kernel"],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":3,"next":{"headline":"octeontx2-af: Fix a memleak bug in rvu_mbox_init()","id":"CVE-2021-47537"},"packages":[],"prev":{"headline":"drm/msm/a6xx: Allocate enough space for GMU registers","id":"CVE-2021-47535"},"products":["Linux"],"published":"2024-05-24","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-05","vendors":["Linux"]},"summary":"A bug in the Linux kernel's SMC module causes memory corruption and system crashes due to incorrect list deletion during cleanup.","url":"https://insights.sbomify.com/CVE-2021-47536/"}