{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_security_advisory","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"Security update for the Linux Kernel (Live Patch 45 for SLE 12 SP5)","title":"Title of the patch"},{"category":"description","text":"This update for the Linux Kernel 4.12.14-122_165 fixes several issues.\n\nThe following security issues were fixed:\n\n- CVE-2024-27398: Fixed use-after-free bug caused by sco_sock_timeout() (bsc#1225013).\n- CVE-2024-35950: drm/client: Fully protect modes with dev->mode_config.mutex (bsc#1225310).\n","title":"Description of the patch"},{"category":"details","text":"SUSE-2024-2818,SUSE-SLE-Live-Patching-12-SP5-2024-2818","title":"Patchnames"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"SUSE ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"self","summary":"URL of this CSAF notice","url":"https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_2818-1.json"},{"category":"self","summary":"URL for SUSE-SU-2024:2818-1","url":"https://www.suse.com/support/update/announcement/2024/suse-su-20242818-1/"},{"category":"self","summary":"E-Mail link for SUSE-SU-2024:2818-1","url":"https://lists.suse.com/pipermail/sle-updates/2024-August/036386.html"},{"category":"self","summary":"SUSE Bug 1225013","url":"https://bugzilla.suse.com/1225013"},{"category":"self","summary":"SUSE Bug 1225310","url":"https://bugzilla.suse.com/1225310"},{"category":"self","summary":"SUSE CVE CVE-2024-27398 page","url":"https://www.suse.com/security/cve/CVE-2024-27398/"},{"category":"self","summary":"SUSE CVE CVE-2024-35950 page","url":"https://www.suse.com/security/cve/CVE-2024-35950/"}],"title":"Security update for the Linux Kernel (Live Patch 45 for SLE 12 SP5)","tracking":{"current_release_date":"2024-08-08T11:33:30Z","generator":{"date":"2024-08-08T11:33:30Z","engine":{"name":"cve-database.git:bin/generate-csaf.pl","version":"1"}},"id":"SUSE-SU-2024:2818-1","initial_release_date":"2024-08-08T11:33:30Z","revision_history":[{"date":"2024-08-08T11:33:30Z","number":"1","summary":"Current version"}],"status":"final","version":"1"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_version","name":"kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","product":{"name":"kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","product_id":"kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le"}}],"category":"architecture","name":"ppc64le"},{"branches":[{"category":"product_version","name":"kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","product":{"name":"kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","product_id":"kgraft-patch-4_12_14-122_165-default-15-2.1.s390x"}}],"category":"architecture","name":"s390x"},{"branches":[{"category":"product_version","name":"kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64","product":{"name":"kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64","product_id":"kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64"}}],"category":"architecture","name":"x86_64"},{"branches":[{"category":"product_name","name":"SUSE Linux Enterprise Live Patching 12 SP5","product":{"name":"SUSE Linux Enterprise Live Patching 12 SP5","product_id":"SUSE Linux Enterprise Live Patching 12 SP5","product_identification_helper":{"cpe":"cpe:/o:suse:sle-live-patching:12:sp5"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le as component of SUSE Linux Enterprise Live Patching 12 SP5","product_id":"SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le"},"product_reference":"kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","relates_to_product_reference":"SUSE Linux Enterprise Live Patching 12 SP5"},{"category":"default_component_of","full_product_name":{"name":"kgraft-patch-4_12_14-122_165-default-15-2.1.s390x as component of SUSE Linux Enterprise Live Patching 12 SP5","product_id":"SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.s390x"},"product_reference":"kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","relates_to_product_reference":"SUSE Linux Enterprise Live Patching 12 SP5"},{"category":"default_component_of","full_product_name":{"name":"kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64 as component of SUSE Linux Enterprise Live Patching 12 SP5","product_id":"SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64"},"product_reference":"kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64","relates_to_product_reference":"SUSE Linux Enterprise Live Patching 12 SP5"}]},"vulnerabilities":[{"cve":"CVE-2024-27398","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-27398"}],"notes":[{"category":"general","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: Fix use-after-free bugs caused by sco_sock_timeout\n\nWhen the sco connection is established and then, the sco socket\nis releasing, timeout_work will be scheduled to judge whether\nthe sco disconnection is timeout. The sock will be deallocated\nlater, but it is dereferenced again in sco_sock_timeout. As a\nresult, the use-after-free bugs will happen. The root cause is\nshown below:\n\n    Cleanup Thread               |      Worker Thread\nsco_sock_release                 |\n  sco_sock_close                 |\n    __sco_sock_close             |\n      sco_sock_set_timer         |\n        schedule_delayed_work    |\n  sco_sock_kill                  |    (wait a time)\n    sock_put(sk) //FREE          |  sco_sock_timeout\n                                 |    sock_hold(sk) //USE\n\nThe KASAN report triggered by POC is shown below:\n\n[   95.890016] ==================================================================\n[   95.890496] BUG: KASAN: slab-use-after-free in sco_sock_timeout+0x5e/0x1c0\n[   95.890755] Write of size 4 at addr ffff88800c388080 by task kworker/0:0/7\n...\n[   95.890755] Workqueue: events sco_sock_timeout\n[   95.890755] Call Trace:\n[   95.890755]  <TASK>\n[   95.890755]  dump_stack_lvl+0x45/0x110\n[   95.890755]  print_address_description+0x78/0x390\n[   95.890755]  print_report+0x11b/0x250\n[   95.890755]  ? __virt_addr_valid+0xbe/0xf0\n[   95.890755]  ? sco_sock_timeout+0x5e/0x1c0\n[   95.890755]  kasan_report+0x139/0x170\n[   95.890755]  ? update_load_avg+0xe5/0x9f0\n[   95.890755]  ? sco_sock_timeout+0x5e/0x1c0\n[   95.890755]  kasan_check_range+0x2c3/0x2e0\n[   95.890755]  sco_sock_timeout+0x5e/0x1c0\n[   95.890755]  process_one_work+0x561/0xc50\n[   95.890755]  worker_thread+0xab2/0x13c0\n[   95.890755]  ? pr_cont_work+0x490/0x490\n[   95.890755]  kthread+0x279/0x300\n[   95.890755]  ? pr_cont_work+0x490/0x490\n[   95.890755]  ? kthread_blkcg+0xa0/0xa0\n[   95.890755]  ret_from_fork+0x34/0x60\n[   95.890755]  ? kthread_blkcg+0xa0/0xa0\n[   95.890755]  ret_from_fork_asm+0x11/0x20\n[   95.890755]  </TASK>\n[   95.890755]\n[   95.890755] Allocated by task 506:\n[   95.890755]  kasan_save_track+0x3f/0x70\n[   95.890755]  __kasan_kmalloc+0x86/0x90\n[   95.890755]  __kmalloc+0x17f/0x360\n[   95.890755]  sk_prot_alloc+0xe1/0x1a0\n[   95.890755]  sk_alloc+0x31/0x4e0\n[   95.890755]  bt_sock_alloc+0x2b/0x2a0\n[   95.890755]  sco_sock_create+0xad/0x320\n[   95.890755]  bt_sock_create+0x145/0x320\n[   95.890755]  __sock_create+0x2e1/0x650\n[   95.890755]  __sys_socket+0xd0/0x280\n[   95.890755]  __x64_sys_socket+0x75/0x80\n[   95.890755]  do_syscall_64+0xc4/0x1b0\n[   95.890755]  entry_SYSCALL_64_after_hwframe+0x67/0x6f\n[   95.890755]\n[   95.890755] Freed by task 506:\n[   95.890755]  kasan_save_track+0x3f/0x70\n[   95.890755]  kasan_save_free_info+0x40/0x50\n[   95.890755]  poison_slab_object+0x118/0x180\n[   95.890755]  __kasan_slab_free+0x12/0x30\n[   95.890755]  kfree+0xb2/0x240\n[   95.890755]  __sk_destruct+0x317/0x410\n[   95.890755]  sco_sock_release+0x232/0x280\n[   95.890755]  sock_close+0xb2/0x210\n[   95.890755]  __fput+0x37f/0x770\n[   95.890755]  task_work_run+0x1ae/0x210\n[   95.890755]  get_signal+0xe17/0xf70\n[   95.890755]  arch_do_signal_or_restart+0x3f/0x520\n[   95.890755]  syscall_exit_to_user_mode+0x55/0x120\n[   95.890755]  do_syscall_64+0xd1/0x1b0\n[   95.890755]  entry_SYSCALL_64_after_hwframe+0x67/0x6f\n[   95.890755]\n[   95.890755] The buggy address belongs to the object at ffff88800c388000\n[   95.890755]  which belongs to the cache kmalloc-1k of size 1024\n[   95.890755] The buggy address is located 128 bytes inside of\n[   95.890755]  freed 1024-byte region [ffff88800c388000, ffff88800c388400)\n[   95.890755]\n[   95.890755] The buggy address belongs to the physical page:\n[   95.890755] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88800c38a800 pfn:0xc388\n[   95.890755] head: order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0\n[   95.890755] ano\n---truncated---","title":"CVE description"}],"product_status":{"recommended":["SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2024-27398","url":"https://www.suse.com/security/cve/CVE-2024-27398"},{"category":"external","summary":"SUSE Bug 1224174 for CVE-2024-27398","url":"https://bugzilla.suse.com/1224174"},{"category":"external","summary":"SUSE Bug 1225013 for CVE-2024-27398","url":"https://bugzilla.suse.com/1225013"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"products":["SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64"]}],"threats":[{"category":"impact","date":"2024-08-08T11:33:30Z","details":"important"}],"title":"CVE-2024-27398"},{"cve":"CVE-2024-35950","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-35950"}],"notes":[{"category":"general","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/client: Fully protect modes[] with dev->mode_config.mutex\n\nThe modes[] array contains pointers to modes on the connectors'\nmode lists, which are protected by dev->mode_config.mutex.\nThus we need to extend modes[] the same protection or by the\ntime we use it the elements may already be pointing to\nfreed/reused memory.","title":"CVE description"}],"product_status":{"recommended":["SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64"]},"references":[{"category":"external","summary":"CVE-2024-35950","url":"https://www.suse.com/security/cve/CVE-2024-35950"},{"category":"external","summary":"SUSE Bug 1224703 for CVE-2024-35950","url":"https://bugzilla.suse.com/1224703"},{"category":"external","summary":"SUSE Bug 1225310 for CVE-2024-35950","url":"https://bugzilla.suse.com/1225310"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64"]}],"scores":[{"cvss_v3":{"baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"products":["SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.ppc64le","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.s390x","SUSE Linux Enterprise Live Patching 12 SP5:kgraft-patch-4_12_14-122_165-default-15-2.1.x86_64"]}],"threats":[{"category":"impact","date":"2024-08-08T11:33:30Z","details":"important"}],"title":"CVE-2024-35950"}]}