messages
listlengths
3
3
metadata
unknown
id
stringlengths
45
187
⌀
module
stringclasses
1 value
license
stringclasses
42 values
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-python3-15819-CVE-2021-3177-buf_ovrfl_PyCArg_repr.patch-Lib_ctypes_test_test_parameters.py", "original_id": "python3-15819-CVE-2021-3177-buf_ovrfl_PyCArg_repr.patch", "cve_id": "CVE-2019-20916", "cves": [ "CVE-2019-20916", "CVE-2021-3177" ], "package": "python3", "tier": "identica...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-13771-grub2-efi_gop-avoid-low-resolution.patch-grub-core_video_efi_gop.c", "original_id": "grub2-13771-grub2-efi_gop-avoid-low-resolution.patch", "cve_id": "CVE-2020-15705", "cves": [ "CVE-2020-15705" ], "package": "grub2", "tier": "identical", "language": "c", "file_path": ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-13771-grub2-efi_gop-avoid-low-resolution.patch-grub-core_video_efi_gop.c", "original_id": "grub2-13771-grub2-efi_gop-avoid-low-resolution.patch", "cve_id": "CVE-2020-15705", "cves": [ "CVE-2020-15705" ], "package": "grub2", "tier": "identical", "language": "c", "file_path": ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-php5-10068-php-CVE-2015-8874.patch-ext_gd_libgd_gd.c", "original_id": "php5-10068-php-CVE-2015-8874.patch", "cve_id": "CVE-2018-20783", "cves": [ "CVE-2018-20783", "CVE-2019-9020", "CVE-2019-9021", "CVE-2019-9023", "CVE-2019-9024", "CVE-2019-9641" ], "package": "php5...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-16558-revert-fixing-a-use-case-when-multiple-inotify-beaco.patch-salt_beacons_napalm_beacon.py", "original_id": "salt-16558-revert-fixing-a-use-case-when-multiple-inotify-beaco.patch", "cve_id": "CVE-2020-11651", "cves": [ "CVE-2018-15750", "CVE-2018-15751", "CVE-2020-11651", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-16558-revert-fixing-a-use-case-when-multiple-inotify-beaco.patch-tests_unit_beacons_test_inotify.py", "original_id": "salt-16558-revert-fixing-a-use-case-when-multiple-inotify-beaco.patch", "cve_id": "CVE-2020-11651", "cves": [ "CVE-2018-15750", "CVE-2018-15751", "CVE-2020-1165...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0009-kern-Add-lockdown-support.patch-grub-core_commands_extcmd.c", "original_id": "grub2-15947-0009-kern-Add-lockdown-support.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2020-27749", "CVE-2020-27779", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0009-kern-Add-lockdown-support.patch-grub-core_commands_extcmd.c", "original_id": "grub2-15947-0009-kern-Add-lockdown-support.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2020-27749", "CVE-2020-27779", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0009-kern-Add-lockdown-support.patch-grub-core_kern_command.c", "original_id": "grub2-15947-0009-kern-Add-lockdown-support.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2020-27749", "CVE-2020-27779", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0009-kern-Add-lockdown-support.patch-grub-core_kern_command.c", "original_id": "grub2-15947-0009-kern-Add-lockdown-support.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2020-27749", "CVE-2020-27779", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0009-kern-Add-lockdown-support.patch-include_grub_command.h", "original_id": "grub2-15947-0009-kern-Add-lockdown-support.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2020-27749", "CVE-2020-27779", "C...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0009-kern-Add-lockdown-support.patch-include_grub_extcmd.h", "original_id": "grub2-15947-0009-kern-Add-lockdown-support.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2020-27749", "CVE-2020-27779", "CV...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-chromium-18398-chromium-125-missing-header-files.patch-third_party_webrtc_modules_include_module_common_types_public.h", "original_id": "chromium-18398-chromium-125-missing-header-files.patch", "cve_id": "CVE-2024-5493", "cves": [ "CVE-2024-5493", "CVE-2024-5494", "CVE-2024-5495", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-chromium-18398-chromium-125-missing-header-files.patch-components_search_engines_util.h", "original_id": "chromium-18398-chromium-125-missing-header-files.patch", "cve_id": "CVE-2024-5493", "cves": [ "CVE-2024-5493", "CVE-2024-5494", "CVE-2024-5495", "CVE-2024-5496", "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-chromium-18398-chromium-125-missing-header-files.patch-content_common_service_worker_race_network_request_write_buffer_manager.h", "original_id": "chromium-18398-chromium-125-missing-header-files.patch", "cve_id": "CVE-2024-5493", "cves": [ "CVE-2024-5493", "CVE-2024-5494", "CVE-202...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch-grub-core_partmap_gpt.c", "original_id": "grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-256...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch-grub-core_partmap_gpt.c", "original_id": "grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-256...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch-include_grub_partition.h", "original_id": "grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch-util_grub-install-common.c", "original_id": "grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch-util_grub-setup.c", "original_id": "grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch-util_setup.c", "original_id": "grub2-15947-0001-Warn-if-MBR-gap-is-small-and-user-uses-advanced-modu.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "C...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch-grub-core_net_http.c", "original_id": "grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch-grub-core_net_http.c", "original_id": "grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch-grub-core_net_net.c", "original_id": "grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch-grub-core_net_net.c", "original_id": "grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch-grub-core_net_net.c", "original_id": "grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch-grub-core_net_net.c", "original_id": "grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch-grub-core_net_tftp.c", "original_id": "grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch-grub-core_net_tftp.c", "original_id": "grub2-15947-0002-net-read-bracketed-ipv6-addrs-and-port-numbers.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-openssl-1_1-15282-0001-s390x-assembly-pack-extend-s390x-capability-vector.patch-crypto_s390x_arch.h", "original_id": "openssl-1_1-15282-0001-s390x-assembly-pack-extend-s390x-capability-vector.patch", "cve_id": "CVE-2020-1971", "cves": [ "CVE-2020-1971" ], "package": "openssl-1_1", "ti...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-chromium-18472-chromium-126-missing-header-files.patch-gpu_config_webgpu_blocklist_impl.h", "original_id": "chromium-18472-chromium-126-missing-header-files.patch", "cve_id": "CVE-2024-6290", "cves": [ "CVE-2024-5830", "CVE-2024-5831", "CVE-2024-5832", "CVE-2024-5833", "CVE-...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-chromium-18472-chromium-126-missing-header-files.patch-third_party_blink_renderer_platform_fonts_shaping_run_segmenter.h", "original_id": "chromium-18472-chromium-126-missing-header-files.patch", "cve_id": "CVE-2024-6290", "cves": [ "CVE-2024-5830", "CVE-2024-5831", "CVE-2024-5832",...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-chromium-18472-chromium-126-missing-header-files.patch-third_party_blink_renderer_modules_encoding_text_decoder.h", "original_id": "chromium-18472-chromium-126-missing-header-files.patch", "cve_id": "CVE-2024-6290", "cves": [ "CVE-2024-5830", "CVE-2024-5831", "CVE-2024-5832", "C...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-chromium-18472-chromium-126-missing-header-files.patch-components_visited_url_ranking_public_url_visit.h", "original_id": "chromium-18472-chromium-126-missing-header-files.patch", "cve_id": "CVE-2024-6290", "cves": [ "CVE-2024-5830", "CVE-2024-5831", "CVE-2024-5832", "CVE-2024-5...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-13771-grub2-Add-hidden-menu-entries.patch-include_grub_menu.h", "original_id": "grub2-13771-grub2-Add-hidden-menu-entries.patch", "cve_id": "CVE-2020-15705", "cves": [ "CVE-2020-15705" ], "package": "grub2", "tier": "identical", "language": "c", "file_path": "include/grub/me...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-16558-implement-network.fqdns-module-function-bsc-1134860-.patch-tests_unit_grains_test_core.py", "original_id": "salt-16558-implement-network.fqdns-module-function-bsc-1134860-.patch", "cve_id": "CVE-2020-11651", "cves": [ "CVE-2018-15750", "CVE-2018-15751", "CVE-2020-11651", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-17112-apply-patch-from-upstream-to-support-python-3.8.patch-pkg_suse_salt.spec", "original_id": "salt-17112-apply-patch-from-upstream-to-support-python-3.8.patch", "cve_id": "CVE-2021-21996", "cves": [ "CVE-2021-21996" ], "package": "salt", "tier": "identical", "language": "pyt...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-17112-apply-patch-from-upstream-to-support-python-3.8.patch-pkg_suse_salt.spec", "original_id": "salt-17112-apply-patch-from-upstream-to-support-python-3.8.patch", "cve_id": "CVE-2021-21996", "cves": [ "CVE-2021-21996" ], "package": "salt", "tier": "identical", "language": "pyt...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-17112-fix-the-removed-six.itermitems-and-six.-_type-262.patch-salt_utils_xmlutil.py", "original_id": "salt-17112-fix-the-removed-six.itermitems-and-six.-_type-262.patch", "cve_id": "CVE-2021-21996", "cves": [ "CVE-2021-21996" ], "package": "salt", "tier": "identical", "language...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-13771-0007-efinet-Setting-network-from-UEFI-device-path.patch-grub-core_net_drivers_efi_efinet.c", "original_id": "grub2-13771-0007-efinet-Setting-network-from-UEFI-device-path.patch", "cve_id": "CVE-2020-15705", "cves": [ "CVE-2020-15705" ], "package": "grub2", "tier": "identic...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-13771-0007-efinet-Setting-network-from-UEFI-device-path.patch-include_grub_efi_api.h", "original_id": "grub2-13771-0007-efinet-Setting-network-from-UEFI-device-path.patch", "cve_id": "CVE-2020-15705", "cves": [ "CVE-2020-15705" ], "package": "grub2", "tier": "identical", "lang...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0039-grub-install-common-Add-sbat-option.patch-include_grub_util_install.h", "original_id": "grub2-15947-0039-grub-install-common-Add-sbat-option.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2020-27749", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-php5-10271-php5-per-mod-log.patch-sapi_apache2handler_php_apache.h", "original_id": "php5-10271-php5-per-mod-log.patch", "cve_id": "CVE-2019-11035", "cves": [ "CVE-2019-11034", "CVE-2019-11035", "CVE-2019-11036", "CVE-2019-9637", "CVE-2019-9638", "CVE-2019-9639", "CV...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-bdrv_open2_fix_flags.patch-tools_qemu-xen-traditional-dir-remote_hw_usb-msd.c", "original_id": "xen-10003-bdrv_open2_fix_flags.patch", "cve_id": "CVE-2018-19965", "cves": [ "CVE-2018-19665", "CVE-2018-19961", "CVE-2018-19962", "CVE-2018-19965", "CVE-2018-19966", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10217-CVE-2017-6505-qemut-usb-an-infinite-loop-issue-in-ohci_service_ed_list.patch-tools_qemu-xen-traditional-dir-remote_hw_usb-ohci.c", "original_id": "xen-10217-CVE-2017-6505-qemut-usb-an-infinite-loop-issue-in-ohci_service_ed_list.patch", "cve_id": "CVE-2018-20815", "cves": [ "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10217-CVE-2017-6505-qemut-usb-an-infinite-loop-issue-in-ohci_service_ed_list.patch-tools_qemu-xen-traditional-dir-remote_hw_usb-ohci.c", "original_id": "xen-10217-CVE-2017-6505-qemut-usb-an-infinite-loop-issue-in-ohci_service_ed_list.patch", "cve_id": "CVE-2018-20815", "cves": [ "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-qemu-9686-0090-include-Add-IEC-binary-prefixes-in-.patch-include_qemu_units.h", "original_id": "qemu-9686-0090-include-Add-IEC-binary-prefixes-in-.patch", "cve_id": "CVE-2019-6778", "cves": [ "CVE-2018-16872", "CVE-2018-18954", "CVE-2018-19364", "CVE-2018-19489", "CVE-2019-6...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-openssl-1_1-15282-0001-s390x-assembly-pack-extend-s390x-capability-vector.patch-crypto_s390x_arch.h", "original_id": "openssl-1_1-15282-0001-s390x-assembly-pack-extend-s390x-capability-vector.patch", "cve_id": "CVE-2020-1971", "cves": [ "CVE-2020-1971" ], "package": "openssl-1_1", "ti...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0030-kern-parser-Fix-a-stack-buffer-overflow.patch-grub-core_kern_parser.c", "original_id": "grub2-15947-0030-kern-parser-Fix-a-stack-buffer-overflow.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", "CVE-2020-27749",...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-php7-17250-php7-CVE-2021-21703.patch-sapi_fpm_fpm_fpm_scoreboard.h", "original_id": "php7-17250-php7-CVE-2021-21703.patch", "cve_id": "CVE-2021-21703", "cves": [ "CVE-2021-21703", "CVE-2021-21707" ], "package": "php7", "tier": "identical", "language": "c", "file_path": "sapi/f...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-17112-improvements-on-ansiblegate-module-354.patch-salt_utils_ansible.py", "original_id": "salt-17112-improvements-on-ansiblegate-module-354.patch", "cve_id": "CVE-2021-21996", "cves": [ "CVE-2021-21996" ], "package": "salt", "tier": "identical", "language": "python", "file_p...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-17112-improvements-on-ansiblegate-module-354.patch-tests_unit_files_playbooks_example_playbooks_example-playbook2_hosts", "original_id": "salt-17112-improvements-on-ansiblegate-module-354.patch", "cve_id": "CVE-2021-21996", "cves": [ "CVE-2021-21996" ], "package": "salt", "tier":...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-17112-improvements-on-ansiblegate-module-354.patch-tests_unit_files_playbooks_example_playbooks_example-playbook2_site.yml", "original_id": "salt-17112-improvements-on-ansiblegate-module-354.patch", "cve_id": "CVE-2021-21996", "cves": [ "CVE-2021-21996" ], "package": "salt", "tie...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-17112-improvements-on-ansiblegate-module-354.patch-tests_unit_files_playbooks_example_playbooks_playbook1.yml", "original_id": "salt-17112-improvements-on-ansiblegate-module-354.patch", "cve_id": "CVE-2021-21996", "cves": [ "CVE-2021-21996" ], "package": "salt", "tier": "identica...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-salt-16558-zypperpkg-ignore-retcode-104-for-search-bsc-1176697-.patch-tests_unit_modules_test_zypperpkg.py", "original_id": "salt-16558-zypperpkg-ignore-retcode-104-for-search-bsc-1176697-.patch", "cve_id": "CVE-2020-11651", "cves": [ "CVE-2018-15750", "CVE-2018-15751", "CVE-2020-11...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-chromium-17946-gcc13-fix.patch-third_party_swiftshader_third_party_llvm-10.0_llvm_include_llvm_Support_Signals.h", "original_id": "chromium-17946-gcc13-fix.patch", "cve_id": "CVE-2023-2931", "cves": [ "CVE-2023-2929", "CVE-2023-2930", "CVE-2023-2931", "CVE-2023-2932", "CVE-2...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0034-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch-util_mkimage.c", "original_id": "grub2-15947-0034-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0034-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch-util_mkimage.c", "original_id": "grub2-15947-0034-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-19965", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hci-csr.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-1...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hci-csr.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-1...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hci.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-19965...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hci.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-19965...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hci.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-19965...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hci.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-19965...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hci.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-19965...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hid.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-19965...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch-tools_qemu-xen-traditional-dir-remote_hw_bt-hid.c", "original_id": "xen-10003-CVE-2018-19665-qemut-Integer-overflow-in-Bluetooth-routines-allows-memory-corruption.patch", "cve_id": "CVE-2018-19965...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch-grub-core_commands_i386_wrmsr.c", "original_id": "grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch-grub-core_commands_i386_wrmsr.c", "original_id": "grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch-grub-core_commands_iorw.c", "original_id": "grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-2...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch-grub-core_commands_iorw.c", "original_id": "grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-2...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch-grub-core_commands_memrw.c", "original_id": "grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch-grub-core_commands_memrw.c", "original_id": "grub2-15947-0012-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-10003-qemu-dm-segfault.patch-tools_qemu-xen-traditional-dir-remote_hw_ide.c", "original_id": "xen-10003-qemu-dm-segfault.patch", "cve_id": "CVE-2018-19965", "cves": [ "CVE-2018-19665", "CVE-2018-19961", "CVE-2018-19962", "CVE-2018-19965", "CVE-2018-19966", "CVE-2018-...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-docker-10457-CVE-2018-15664.patch-components_engine_pkg_chrootarchive_init_unix.go", "original_id": "docker-10457-CVE-2018-15664.patch", "cve_id": "CVE-2018-15664", "cves": [ "CVE-2018-15664" ], "package": "docker", "tier": "identical", "language": "go", "file_path": "components/e...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-13550-0002-Remove-grub_efi_allocate_pages.patch-grub-core_kern_arm_efi_misc.c", "original_id": "grub2-13550-0002-Remove-grub_efi_allocate_pages.patch", "cve_id": "CVE-2020-14311", "cves": [ "CVE-2020-10713", "CVE-2020-14308", "CVE-2020-14309", "CVE-2020-14310", "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-13550-0002-Remove-grub_efi_allocate_pages.patch-grub-core_kern_arm_efi_misc.c", "original_id": "grub2-13550-0002-Remove-grub_efi_allocate_pages.patch", "cve_id": "CVE-2020-14311", "cves": [ "CVE-2020-10713", "CVE-2020-14308", "CVE-2020-14309", "CVE-2020-14310", "CVE-20...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-13550-0002-Remove-grub_efi_allocate_pages.patch-grub-core_loader_arm64_fdt.c", "original_id": "grub2-13550-0002-Remove-grub_efi_allocate_pages.patch", "cve_id": "CVE-2020-14311", "cves": [ "CVE-2020-10713", "CVE-2020-14308", "CVE-2020-14309", "CVE-2020-14310", "CVE-202...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0021-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch-grub-core_bus_usb_usb.c", "original_id": "grub2-15947-0021-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-256...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0021-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch-grub-core_bus_usb_usb.c", "original_id": "grub2-15947-0021-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-256...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0021-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch-grub-core_bus_usb_usb.c", "original_id": "grub2-15947-0021-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-256...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-grub2-15947-0021-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch-include_grub_usb.h", "original_id": "grub2-15947-0021-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch", "cve_id": "CVE-2020-27749", "cves": [ "CVE-2020-14372", "CVE-2020-25632", "CVE-2020-25647", ...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-php5-10271-php-imap_open-script-injection.patch-ext_imap_php_imap.h", "original_id": "php5-10271-php-imap_open-script-injection.patch", "cve_id": "CVE-2019-11035", "cves": [ "CVE-2019-11034", "CVE-2019-11035", "CVE-2019-11036", "CVE-2019-9637", "CVE-2019-9638", "CVE-2019...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-python-Django-19255-CVE-2025-13372.patch-django_db_backends_postgresql_compiler.py", "original_id": "python-Django-19255-CVE-2025-13372.patch", "cve_id": "CVE-2025-13372", "cves": [ "CVE-2025-13372", "CVE-2025-64460" ], "package": "python-Django", "tier": "identical", "language"...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-qemu-9686-0051-include-add-psp-sev.h-header-file.patch-linux-headers_linux_psp-sev.h", "original_id": "qemu-9686-0051-include-add-psp-sev.h-header-file.patch", "cve_id": "CVE-2019-6778", "cves": [ "CVE-2018-16872", "CVE-2018-18954", "CVE-2018-19364", "CVE-2018-19489", "CVE-2...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xorg-x11-server-7379-u_x86emu-include-order.patch-hw_xfree86_x86emu_x86emu_regs.h", "original_id": "xorg-x11-server-7379-u_x86emu-include-order.patch", "cve_id": "CVE-2017-12176", "cves": [ "CVE-2017-12176", "CVE-2017-12177", "CVE-2017-12178", "CVE-2017-12179", "CVE-2017-121...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xorg-x11-server-6980-U_kdrive-introduce-input-hot-plugging-support-for-udev.patch-hw_kdrive_src_Makefile.am", "original_id": "xorg-x11-server-6980-U_kdrive-introduce-input-hot-plugging-support-for-udev.patch", "cve_id": "CVE-2017-10972", "cves": [ "CVE-2017-10971", "CVE-2017-10972" ],...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-dracut-6609-0301-include_sysconfig_language.patch-modules.d_10i18n_module-setup.sh", "original_id": "dracut-6609-0301-include_sysconfig_language.patch", "cve_id": "CVE-2016-8637", "cves": [ "CVE-2016-8637" ], "package": "dracut", "tier": "identical", "language": "shell", "file_pat...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-dracut-6609-0306-90multipath-add-shutdown-script.patch-modules.d_90multipath_multipath-shutdown.sh", "original_id": "dracut-6609-0306-90multipath-add-shutdown-script.patch", "cve_id": "CVE-2016-8637", "cves": [ "CVE-2016-8637" ], "package": "dracut", "tier": "identical", "language":...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-dracut-6609-0403-95lunmask-Add-module-to-handle-LUN-masking.patch-modules.d_95lunmask_fc_transport_scan_lun.sh", "original_id": "dracut-6609-0403-95lunmask-Add-module-to-handle-LUN-masking.patch", "cve_id": "CVE-2016-8637", "cves": [ "CVE-2016-8637" ], "package": "dracut", "tier": "id...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-dracut-6609-0403-95lunmask-Add-module-to-handle-LUN-masking.patch-modules.d_95lunmask_module-setup.sh", "original_id": "dracut-6609-0403-95lunmask-Add-module-to-handle-LUN-masking.patch", "cve_id": "CVE-2016-8637", "cves": [ "CVE-2016-8637" ], "package": "dracut", "tier": "identical",...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-dracut-6609-0403-95lunmask-Add-module-to-handle-LUN-masking.patch-modules.d_95lunmask_parse-lunmask.sh", "original_id": "dracut-6609-0403-95lunmask-Add-module-to-handle-LUN-masking.patch", "cve_id": "CVE-2016-8637", "cves": [ "CVE-2016-8637" ], "package": "dracut", "tier": "identical"...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-dracut-6484-0038-95fcoe-start-lldpad-separately.patch-modules.d_95fcoe_lldpad.sh", "original_id": "dracut-6484-0038-95fcoe-start-lldpad-separately.patch", "cve_id": "CVE-2016-8637", "cves": [ "CVE-2016-8637" ], "package": "dracut", "tier": "identical", "language": "shell", "file_p...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-dracut-6609-0056-81cio_ignore-handle-cio_ignore-commandline.patch-modules.d_81cio_ignore_parse-cio_accept.sh", "original_id": "dracut-6609-0056-81cio_ignore-handle-cio_ignore-commandline.patch", "cve_id": "CVE-2016-8637", "cves": [ "CVE-2016-8637" ], "package": "dracut", "tier": "iden...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-6112-ioemu-blktap-image-format.patch-tools_qemu-xen-traditional-dir-remote_hw_xen_blktap.h", "original_id": "xen-6112-ioemu-blktap-image-format.patch", "cve_id": "CVE-2016-9932", "cves": [ "CVE-2016-10013", "CVE-2016-10024", "CVE-2016-7777", "CVE-2016-7908", "CVE-2016-79...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-xen-6113-xsa164.patch-tools_qemu-xen-traditional-dir-remote_hw_pt-msi.c", "original_id": "xen-6113-xsa164.patch", "cve_id": "CVE-2016-8910", "cves": [ "CVE-2016-10013", "CVE-2016-10024", "CVE-2016-7777", "CVE-2016-7908", "CVE-2016-7909", "CVE-2016-8576", "CVE-2016-86...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-GraphicsMagick-10208-GraphicsMagick-include.patch-lib_Geometry.cpp", "original_id": "GraphicsMagick-10208-GraphicsMagick-include.patch", "cve_id": "CVE-2019-10131", "cves": [ "CVE-2019-10131" ], "package": "GraphicsMagick", "tier": "identical", "language": "cpp", "file_path": "lib...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-ImageMagick-15570-ImageMagick-CVE-2019-11470.patch-coders_cin.c", "original_id": "ImageMagick-15570-ImageMagick-CVE-2019-11470.patch", "cve_id": "CVE-2020-19667", "cves": [ "CVE-2020-19667", "CVE-2020-25664", "CVE-2020-25665", "CVE-2020-25666", "CVE-2020-25674", "CVE-202...
null
null
null
[ { "role": "system", "content": "You are a security patch backporting assistant.\n\nGiven vulnerable source code and a description of the upstream fix, output the FIXED version of the code.\n\nRules:\n- Output ONLY the fixed code, nothing else — no explanations, no markdown fences\n- Preserve exact formattin...
{ "id": "codegen-ImageMagick-10088-ImageMagick-CVE-2019-7396.patch-coders_sixel.c", "original_id": "ImageMagick-10088-ImageMagick-CVE-2019-7396.patch", "cve_id": "CVE-2019-10650", "cves": [ "CVE-2019-10650", "CVE-2019-11007", "CVE-2019-11008", "CVE-2019-9956" ], "package": "ImageMagick", "...
null
null
null