Skip to content
OpenAdvisories
High ALAS2023-2024-519 24 CVEs

Important: kernel security update (Amazon Linux 2023)

Published Feb 15, 2024 · Updated Dec 5, 2024

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-35840: In the Linux kernel, the following vulnerability has been resolved: mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect() CVE-2024-35839: In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: replace physindev with physinif in nf_bridge_info CVE-2024-26633: In the Linux kernel, the following vulnerability has been resolved: ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim() CVE-2024-26632: In the Linux kernel, the following vulnerability has been resolved: block: Fix iterating over an empty bio with bio_for_each_folio_all CVE-2024-26631: In the Linux kernel, the following vulnerability has been resolved: ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work CVE-2024-26598: In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache CVE-2024-26591: bpf: Fix re-attachment branch in bpf_tracing_prog_attach The following case can cause a crash due to missing attach_btf: 1) load rawtp program 2) load fentry program with rawtp as target_fd 3) create tracing link for fentry program with target_fd = 0 4) repeat 3 CVE-2024-26589: In the Linux kernel, the following vulnerability has been resolved: bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS check_flow_keys_access() results in out of bounds access . For PTR_TO_FLOW_KEYS, check_flow_keys_access() only uses fixed off for validation. However, variable offset ptr alu is not prohibited for this ptr kind. So the variable offset is not checked. CVE-2024-1085: A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The nft_setelem_catchall_deactivate() function checks whether the catch-all set element is active in the current generation instead of the next generation before freeing it, but only flags it inactive in the next generation, making it possible to free the element multiple times, leading to a double free vulnerability. We recommend upgrading past commit b1db244ffd041a49ecc9618e8feb6b5c1afcdaa7. CVE-2023-6915: A Null pointer dereference problem was found in ida_free in lib/idr.c in the Linux Kernel. This issue may allow an attacker using this library to cause a denial of service problem due to a missing check at a function return. CVE-2023-52698: In the Linux kernel, the following vulnerability has been resolved: calipso: fix memory leak in netlbl_calipso_add_pass() CVE-2023-52693: In the Linux kernel, the following vulnerability has been resolved: ACPI: video: check for error while searching for backlight device parent CVE-2023-52683: In the Linux kernel, the following vulnerability has been resolved: ACPI: LPIT: Avoid u32 multiplication overflow CVE-2023-52679: In the Linux kernel, the following vulnerability has been resolved: of: Fix double free in of_parse_phandle_with_args_map CVE-2023-52675: In the Linux kernel, the following vulnerability has been resolved: powerpc/imc-pmu: Add a null pointer check in update_events_in_group() CVE-2023-52612: In the Linux kernel, the following vulnerability has been resolved: crypto: scomp - fix req->dst buffer overflow CVE-2023-52610: In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ct: fix skb leak and crash on ooo frags CVE-2023-52467: In the Linux kernel, the following vulnerability has been resolved: mfd: syscon: Fix null pointer dereference in of_syscon_register() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. CVE-2023-52463: In the Linux kernel, the following vulnerability has been resolved: efivarfs: force RO when remounting if SetVariable is not supported If SetVariable at runtime is not supported by the firmware we never assign a callback for that function. At the same time mount the efivarfs as RO so no one can call that. However, we never check the permission flags when someone remounts the filesystem as RW. As a result this leads to a crash CVE-2023-52462: In the Linux kernel, the following vulnerability has been resolved: bpf: fix check for attempt to corrupt spilled pointer CVE-2023-52458: In the Linux kernel, the following vulnerability has been resolved: block: add check that partition length needs to be aligned with block size Before calling add partition or resize partition, there is no check on whether the length is aligned with the logical block size. If the logical block size of the disk is larger than 512 bytes, then the partition size maybe not the multiple of the logical block size, and when the last sector is read, bio_truncate() will adjust the bio size, resulting in an IO error if the size of the read command is smaller than the logical block size.If integrity data is supported, this will also result in a null pointer dereference when calling bio_integrity_free. CVE-2023-52447: In the Linux kernel, the following vulnerability has been resolved: bpf: Defer the free of inner map when necessary When updating or deleting an inner map in map array or map htab, the map may still be accessed by non-sleepable program or sleepable program. However bpf_map_fd_put_ptr() decreases the ref-counter of the inner map directly through bpf_map_put(), if the ref-counter is the last one (which is true for most cases), the inner map will be freed by ops->map_free() in a kworker. But for now, most .map_free() callbacks don't use synchronize_rcu() or its variants to wait for the elapse of a RCU grace period, so after the invocation of ops->map_free completes, the bpf program which is accessing the inner map may incur use-after-free problem. Fix the free of inner map by invoking bpf_map_free_deferred() after both one RCU grace period and one tasks trace RCU grace period if the inner map has been removed from the outer map before. The deferment is accomplished by using call_rcu() or call_

Fixed packages 21

ReleasePackageFixed in
Amazon Linux · 2023 bpftool 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 bpftool-debuginfo 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-debuginfo 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-debuginfo-common-aarch64 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-debuginfo-common-x86_64 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-devel 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-headers 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-libbpf 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-libbpf-devel 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-libbpf-static 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-livepatch-6.1.75-99.163 0:1.0-0.amzn2023
Amazon Linux · 2023 kernel-modules-extra 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-modules-extra-common 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-tools 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-tools-debuginfo 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 kernel-tools-devel 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 perf 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 perf-debuginfo 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 python3-perf 0:6.1.75-99.163.amzn2023
Amazon Linux · 2023 python3-perf-debuginfo 0:6.1.75-99.163.amzn2023

Vulnerabilities 24

  • High 8.8

    KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache

    In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache There is a potential UAF scenario in the case of an LPI translation cache hit racing with an operation that invalidates the …

  • High 7.8

    uio: Fix use-after-free in uio_open

    In the Linux kernel, the following vulnerability has been resolved: uio: Fix use-after-free in uio_open core-1 core-2 ------------------------------------------------------- uio_unregister_device uio_open idev = idr_find() device_unregister(&idev->dev) put_de…

  • High 7.8

    bpf: Defer the free of inner map when necessary

    In the Linux kernel, the following vulnerability has been resolved: bpf: Defer the free of inner map when necessary When updating or deleting an inner map in map array or map htab, the map may still be accessed by non-sleepable program or sleepable program. H…

  • High 7.8

    crypto: scomp - fix req->dst buffer overflow

    In the Linux kernel, the following vulnerability has been resolved: crypto: scomp - fix req->dst buffer overflow The req->dst buffer size should be checked before copying from the scomp_scratch->dst to avoid req->dst buffer overflow problem.

  • High 7.8

    of: Fix double free in of_parse_phandle_with_args_map

    In the Linux kernel, the following vulnerability has been resolved: of: Fix double free in of_parse_phandle_with_args_map In of_parse_phandle_with_args_map() the inner loop that iterates through the map entries calls of_node_put(new) to free the reference acq…

  • High 7.8

    Use-after-free in Linux kernel's netfilter: nf_tables component

    A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The nft_setelem_catchall_deactivate() function checks whether the catch-all set element is active in the current genera…

  • High 7.8

    bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS

    In the Linux kernel, the following vulnerability has been resolved: bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS For PTR_TO_FLOW_KEYS, check_flow_keys_access() only uses fixed off for validation. However, variable offset ptr alu is not prohibited for t…

  • High 7.8

    ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work

    In the Linux kernel, the following vulnerability has been resolved: ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work idev->mc_ifc_count can be written over without proper locking. Originally found by syzbot [1], fix this issue by encapsulating calls …

  • High 7.8

    block: Fix iterating over an empty bio with bio_for_each_folio_all

    In the Linux kernel, the following vulnerability has been resolved: block: Fix iterating over an empty bio with bio_for_each_folio_all If the bio contains no data, bio_first_folio() calls page_folio() on a NULL pointer and oopses. Move the test that we've rea…

  • High 7.8

    netfilter: bridge: replace physindev with physinif in nf_bridge_info

    In the Linux kernel, the following vulnerability has been resolved: netfilter: bridge: replace physindev with physinif in nf_bridge_info An skb can be added to a neigh->arp_queue while waiting for an arp reply. Where original skb's skb->dev can be different t…

  • High 7.5

    Linux: netback processing of zero-length transmit fragment

    Transmit requests in Xen's virtual network protocol can consist of multiple parts. While not really useful, except for the initial part any of them may be of zero length, i.e. carry no data at all. Besides a certain initial portion of the to be transferred da…

  • High 7.5

    net/sched: act_ct: fix skb leak and crash on ooo frags

    In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ct: fix skb leak and crash on ooo frags act_ct adds skb->users before defragmentation. If frags arrive in order, the last frag's reference is reset in: inet_frag_reasm_prepare …

  • Medium 6.2

    Kernel: null pointer dereference vulnerability in ida_free in lib/idr.c

    A Null pointer dereference problem was found in ida_free in lib/idr.c in the Linux Kernel. This issue may allow an attacker using this library to cause a denial of service problem due to a missing check at a function return.

  • Medium 5.5

    ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()

    In the Linux kernel, the following vulnerability has been resolved: ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim() syzbot pointed out [1] that NEXTHDR_FRAGMENT handling is broken. Reading frag_off can only be done if we pulled enough…

  • Unscored —

    block: add check that partition length needs to be aligned with block size

    In the Linux kernel, the following vulnerability has been resolved: block: add check that partition length needs to be aligned with block size Before calling add partition or resize partition, there is no check on whether the length is aligned with the logica…

  • Unscored —

    bpf: fix check for attempt to corrupt spilled pointer

    In the Linux kernel, the following vulnerability has been resolved: bpf: fix check for attempt to corrupt spilled pointer When register is spilled onto a stack as a 1/2/4-byte register, we set slot_type[BPF_REG_SIZE - 1] (plus potentially few more below it, d…

  • Unscored —

    efivarfs: force RO when remounting if SetVariable is not supported

    In the Linux kernel, the following vulnerability has been resolved: efivarfs: force RO when remounting if SetVariable is not supported If SetVariable at runtime is not supported by the firmware we never assign a callback for that function. At the same time mo…

  • Unscored —

    mfd: syscon: Fix null pointer dereference in of_syscon_register()

    In the Linux kernel, the following vulnerability has been resolved: mfd: syscon: Fix null pointer dereference in of_syscon_register() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.

  • Unscored —

    powerpc/imc-pmu: Add a null pointer check in update_events_in_group()

    In the Linux kernel, the following vulnerability has been resolved: powerpc/imc-pmu: Add a null pointer check in update_events_in_group() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure.

  • Unscored —

    ACPI: LPIT: Avoid u32 multiplication overflow

    In the Linux kernel, the following vulnerability has been resolved: ACPI: LPIT: Avoid u32 multiplication overflow In lpit_update_residency() there is a possibility of overflow in multiplication, if tsc_khz is large enough (> UINT_MAX/1000). Change multiplicat…

  • Unscored —

    ACPI: video: check for error while searching for backlight device parent

    In the Linux kernel, the following vulnerability has been resolved: ACPI: video: check for error while searching for backlight device parent If acpi_get_parent() called in acpi_video_dev_register_backlight() fails, for example, because acpi_ut_acquire_mutex()…

  • Unscored —

    calipso: fix memory leak in netlbl_calipso_add_pass()

    In the Linux kernel, the following vulnerability has been resolved: calipso: fix memory leak in netlbl_calipso_add_pass() If IPv6 support is disabled at boot (ipv6.disable=1), the calipso_init() -> netlbl_calipso_ops_register() function isn't called, and the …

  • Unscored —

    bpf: Fix re-attachment branch in bpf_tracing_prog_attach

    In the Linux kernel, the following vulnerability has been resolved: bpf: Fix re-attachment branch in bpf_tracing_prog_attach The following case can cause a crash due to missing attach_btf: 1) load rawtp program 2) load fentry program with rawtp as target_fd 3…

  • Unscored —

    mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()

    In the Linux kernel, the following vulnerability has been resolved: mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect() subflow_finish_connect() uses four fields (backup, join_id, thmac, none) that may contain garbage unless OPTION_MPTCP_MPJ_SYNACK…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-46838.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52439.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52447.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52458.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52462.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52463.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52467.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52610.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52612.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52675.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52679.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52683.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52693.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-52698.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-6915.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-1085.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-26589.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-26591.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-26598.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-26631.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-26632.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-26633.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-35839.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-35840.html