openSUSE-SU-2021:3876-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/openSUSE-SU-2021:3876-1.json
JSON Data
https://api.osv.dev/v1/vulns/openSUSE-SU-2021:3876-1
Related
Published
2021-12-02T07:19:22Z
Modified
2021-12-02T07:19:22Z
Summary
Security update for the Linux Kernel
Details

The SUSE Linux Enterprise 15 SP1 LTSS kernel was updated to receive various security and bugfixes.

The following security bugs were fixed:

  • Unprivileged BPF has been disabled by default to reduce attack surface as too many security issues have happened in the past (jsc#SLE-22573)

    You can reenable via systemctl setting /proc/sys/kernel/unprivilegedbpfdisabled to 0. (kernel.unprivilegedbpfdisabled = 0)

  • CVE-2021-0941: In bpfskbchange_head of filter.c, there is a possible out of bounds read due to a use after free. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation (bnc#1192045).

  • CVE-2021-31916: An out-of-bounds (OOB) memory write flaw was found in listdevices in drivers/md/dm-ioctl.c in the Multi-device driver module in the Linux kernel A bound check failure allowed an attacker with special user (CAPSYS_ADMIN) privilege to gain access to out-of-bounds memory leading to a system crash or a leak of internal kernel information. The highest threat from this vulnerability is to system availability (bnc#1192781).
  • CVE-2021-20322: Make the ipv4 and ipv6 ICMP exception caches less predictive to avoid information leaks about UDP ports in use. (bsc#1191790)
  • CVE-2021-34981: Fixed file refcounting in cmtp when cmtpattachdevice fails (bsc#1191961).
  • CVE-2021-37159: hsofreenetdevice in drivers/net/usb/hso.c in the Linux kernel calls unregisternetdev without checking for the NETREG_REGISTERED state, leading to a use-after-free and a double free (bnc#1188601).
  • CVE-2021-3772: Fixed sctp vtag check in sctpsfootb (bsc#1190351).
  • CVE-2021-3655: Missing size validations on inbound SCTP packets may have allowed the kernel to read uninitialized memory (bnc#1188563).
  • CVE-2021-33033: The Linux kernel has a use-after-free in cipsov4genopt in net/ipv4/cipso_ipv4.c because the CIPSO and CALIPSO refcounting for the DOI definitions is mishandled, aka CID-ad5d07f4a9cd. This leads to writing an arbitrary value (bnc#1186109 bnc#1186390 bnc#1188876).
  • CVE-2021-3760: Fixed a use-after-free vulnerability with the ndev->rfconninfo object (bsc#1190067).
  • CVE-2021-42739: The firewire subsystem in the Linux kernel has a buffer overflow related to drivers/media/firewire/firedtv-avc.c and drivers/media/firewire/firedtv-ci.c, because avccapmt mishandled bounds checking (bnc#1184673).
  • CVE-2021-3542: Fixed heap buffer overflow in firedtv driver (bsc#1186063).
  • CVE-2018-13405: The inodeinitowner function in fs/inode.c in the Linux kernel allowed local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of that group. Here, the non-member can trigger creation of a plain file whose group ownership is that group. The intended behavior was that the non-member can trigger creation of a directory (but not a plain file) whose group ownership is that group. The non-member can escalate privileges by making the plain file executable and SGID (bnc#1100416 bnc#1129735).
  • CVE-2021-3715: Fixed a use-after-free in route4change() in net/sched/clsroute.c (bsc#1190349).
  • CVE-2021-34556: An unprivileged BPF program can obtain sensitive information from kernel memory via a Speculative Store Bypass side-channel attack because the protection mechanism neglects the possibility of uninitialized memory locations on the BPF stack (bnc#1188983).
  • CVE-2021-35477: An unprivileged BPF program can obtain sensitive information from kernel memory via a Speculative Store Bypass side-channel attack because a certain preempting store operation did not necessarily occur before a store operation that has an attacker-controlled value (bnc#1188985).
  • CVE-2021-42252: An issue was discovered in aspeedlpcctrl_mmap in drivers/soc/aspeed/aspeed-lpc-ctrl.c in the Linux kernel Local attackers able to access the Aspeed LPC control interface could overwrite memory in the kernel and potentially execute privileges, aka CID-b49a0e69a7b1. This occurs because a certain comparison uses values that are not memory sizes (bnc#1190479).
  • CVE-2021-41864: preallocelemsand_freelist in kernel/bpf/stackmap.c in the Linux kernel allowed unprivileged users to trigger an eBPF multiplication integer overflow with a resultant out-of-bounds write (bnc#1191317).
  • CVE-2021-42008: The decodedata function in drivers/net/hamradio/6pack.c in the Linux kernel has a slab out-of-bounds write. Input from a process that has the CAPNET_ADMIN capability can lead to root access (bnc#1191315).
  • CVE-2021-3759: Unaccounted ipc objects could have lead to breaking memcg limits and DoS attacks (bsc#1190115).
  • CVE-2020-3702: Specifically timed and handcrafted traffic can cause internal errors in a WLAN device that lead to improper layer 2 Wi-Fi encryption with a consequent possibility of information disclosure over the air for a discrete set of traffic (bnc#1191193).
  • CVE-2021-3752: Fixed a use after free vulnerability in the bluetooth module. (bsc#1190023)
  • CVE-2021-40490: A race condition was discovered in ext4writeinlinedataend in fs/ext4/inline.c in the ext4 subsystem in the Linux kernel (bnc#1190159 bnc#1192775)
  • CVE-2021-3744: Fixed a bug which could allows attackers to cause a denial of service. (bsc#1189884)
  • CVE-2021-3764: Fixed a bug which could allows attackers to cause a denial of service. (bsc#1190534)
  • CVE-2020-12770: An issue was discovered in the Linux kernel sgwrite lacks an sgremove_request call in a certain failure case, aka CID-83c6f2390040 (bnc#1171420).
  • CVE-2021-3640: Fixed a Use-After-Free vulnerability in function scosocksendmsg() in the bluetooth stack (bsc#1188172).
  • CVE-2019-3900: An infinite loop issue was found in the vhostnet kernel module, while handling incoming packets in handlerx(). It could occur if one end sends packets faster than the other end can process them. A guest user, maybe remote one, could use this flaw to stall the vhost_net kernel thread, resulting in a DoS scenario (bnc#1133374).
  • CVE-2019-3874: The SCTP socket buffer used by a userspace application is not accounted by the cgroups subsystem. An attacker can use this flaw to cause a denial of service attack. (bnc#1129898).
  • CVE-2018-9517: In pppol2tp_connect, there is possible memory corruption due to a use after free. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation. (bnc#1108488).
  • CVE-2021-38160: Data corruption or loss could be triggered by an untrusted device that supplies a buf->len value exceeding the buffer size in drivers/char/virtio_console.c (bsc#1190117)
  • CVE-2021-3753: Fixed race out-of-bounds in virtual terminal handling (bsc#1190025).
  • CVE-2021-3732: Mounting overlayfs inside an unprivileged user namespace can reveal files (bsc#1189706).
  • CVE-2021-3653: A flaw was found in the KVM's AMD code for supporting SVM nested virtualization. The flaw occurs when processing the VMCB (virtual machine control block) provided by the L1 guest to spawn/handle a nested guest (L2). Due to improper validation of the 'int_ctl' field, this issue could allow a malicious L1 to enable AVIC support (Advanced Virtual Interrupt Controller) for the L2 guest. As a result, the L2 guest would be allowed to read/write physical pages of the host, resulting in a crash of the entire system, leak of sensitive data or potential guest-to-host escape. This flaw affects Linux kernel versions prior to 5.14-rc7 (bnc#1189399).
  • CVE-2021-3656: Missing validation of the the virt_ext VMCB field and allows a malicious L1 guest to disable both VMLOAD/VMSAVE intercepts and VLS for the L2 guest (bsc#1189400).
  • CVE-2021-38204: drivers/usb/host/max3421-hcd.c allowed physically proximate attackers to cause a denial of service (use-after-free and panic) by removing a MAX-3421 USB device in certain situations (bnc#1189291).
  • CVE-2021-3679: A lack of CPU resource in the tracing module functionality was found in the way user uses trace ring buffer in a specific way. Only privileged local users (with CAPSYSADMIN capability) could use this flaw to starve the resources causing denial of service (bnc#1189057).
  • CVE-2020-4788: IBM Power9 (AIX 7.1, 7.2, and VIOS 3.1) processors could allow a local user to obtain sensitive information from the data in the L1 cache under extenuating circumstances. IBM X-Force ID: 189296 (bnc#0 bnc#1177666 bnc#1181158).
  • CVE-2021-3659: Fixed a NULL pointer dereference in llseckeyalloc() in net/mac802154/llsec.c (bsc#1188876).
  • CVE-2020-0429: In l2tpsessiondelete and related functions of l2tp_core.c, there is possible memory corruption due to a use after free. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation (bnc#1176724).
  • CVE-2021-37576: arch/powerpc/kvm/book3srtas.c on the powerpc platform allowed KVM guest OS users to cause host OS memory corruption via rtasargs.nargs, aka CID-f62f3c20647e (bnc#1188838 bnc#1190276).
  • CVE-2021-22543: KVM through Improper handling of VMIO|VMPFNMAP vmas in KVM can bypass RO checks and can lead to pages being freed while still accessible by the VMM and guest. This allowed users with the ability to start and control a VM to read/write random pages of memory and can result in local privilege escalation (bnc#1186482 bnc#1190276).
  • CVE-2021-33909: fs/seq_file.c did not properly restrict seq buffer allocations, leading to an integer overflow, an Out-of-bounds Write, and escalation to root by an unprivileged user, aka CID-8cae8cd89f05 (bnc#1188062 bnc#1188063).

The following non-security bugs were fixed:

  • Add arch-dependent support markers in supported.conf (bsc#1186672)
  • Add the support for kernel-FLAVOR-optional subpackage (jsc#SLE-11796)
  • bpf: Add kconfig knob for disabling unpriv bpf by default (jsc#SLE-22913)
  • bpf: Disallow unprivileged bpf by default (jsc#SLE-22913).
  • ceph: take snapemptylock atomically with snaprealm refcount change (bsc#1191888).
  • config: disable unprivileged BPF by default (jsc#SLE-22913)
  • cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode (bsc#1185758,bsc#1192400).
  • drm: fix spectre issue in vmwexecbufioctl (bsc#1192802).
  • ftrace: Fix scripts/recordmcount.pl due to new binutils (bsc#1192267).
  • gigaset: fix spectre issue in dodatab3_req (bsc#1192802).
  • hisax: fix spectre issues (bsc#1192802).
  • hv: mana: adjust manaselectqueue to old API (jsc#SLE-18779, bsc#1185726).
  • hv: mana: remove netdevlockdepset_classes usage (jsc#SLE-18779, bsc#1185726).
  • hv_netvsc: Make netvsc/VF binding check both MAC and serial number (jsc#SLE-18779, bsc#1185726).
  • hysdn: fix spectre issue in hycapisendmessage (bsc#1192802).
  • infiniband: fix spectre issue in ibuverbswrite (bsc#1192802).
  • infiniband: fix spectre issue in ibuverbswrite (bsc#1192802).
  • ipc: remove memcg accounting for sops objects in do_semtimedop() (bsc#1190115).
  • iwlwifi: fix spectre issue in iwldbgfsupdate_pm (bsc#1192802).
  • kernel-binary.spec: Exctract s390 decompression code (jsc#SLE-17042).
  • kernel-binary.spec: Fix up usrmerge for non-modular kernels.
  • kernel-binary.spec.in: build-id check requires elfutils.
  • kernel-binary.spec.in: Regenerate makefile when not using mkmakefile.
  • kernel-binary.spec: Only use mkmakefile when it exists Linux 5.13 no longer had a mkmakefile script
  • kernel-binary.spec: Remove obsolete and wrong comment mkmakefile is repleced by echo on newer kernel
  • kernel-docs.spec.in: Build using an utf-8 locale. Sphinx cannot handle UTF-8 input in non-UTF-8 locale.
  • media: dvbcaen50221: prevent using slot_info for Spectre attacs (bsc#1192802).
  • media: dvbcaen50221: sanity check slot number from userspace (bsc#1192802).
  • media: wl128x: get rid of a potential spectre issue (bsc#1192802).
  • memcg: enable accounting for file lock caches (bsc#1190115).
  • mm/memory.c: dofault: avoid usage of stale vmarea_struct (bsc#1136513).
  • mpt3sas: fix spectre issues (bsc#1192802).
  • net: mana: Add a driver for Microsoft Azure Network Adapter (MANA) (jsc#SLE-18779, bsc#1185726).
  • net: mana: Add support for EQ sharing (jsc#SLE-18779, bsc#1185726).
  • net: mana: Add WARNONONCE in case of CQE read overflow (jsc#SLE-18779, bsc#1185726).
  • net: mana: Fix a memory leak in an error handling path in (jsc#SLE-18779, bsc#1185726).
  • net: mana: Fix error handling in manacreaterxq() (git-fixes, bsc#1191800).
  • net: mana: fix PCI_HYPERV dependency (jsc#SLE-18779, bsc#1185726).
  • net: mana: Move NAPI from EQ to CQ (jsc#SLE-18779, bsc#1185726).
  • net: mana: Prefer struct_size over open coded arithmetic (jsc#SLE-18779, bsc#1185726).
  • net: mana: remove redundant initialization of variable err (jsc#SLE-18779, bsc#1185726).
  • net: mana: Use int to check the return value of managdpoll_cq() (jsc#SLE-18779, bsc#1185726).
  • net: mana: Use struct_size() in kzalloc() (jsc#SLE-18779, bsc#1185726).
  • netsched: clsroute: remove the right filter from hashtable (networking-stable-200328).
  • net: sched: sch_teql: fix null-pointer dereference (bsc#1190717).
  • net: sockdiag: Fix spectre v1 gadget in _sockdiagcmd() (bsc#1192802).
  • NFS: Do uncached readdir when we're seeking a cookie in an empty page cache (bsc#1191628).
  • objtool: Do not fail on missing symbol table (bsc#1192379).
  • osst: fix spectre issue in osstverifyframe (bsc#1192802).
  • ovl: check whiteout in ovlcreateover_whiteout() (bsc#1189846).
  • ovl: filter of trusted xattr results in audit (bsc#1189846).
  • ovl: fix dentry leak in ovlgetredirect (bsc#1189846).
  • ovl: initialize error in ovlcopyxattr (bsc#1189846).
  • ovl: relax WARN_ON() on rename to self (bsc#1189846).
  • PCI: hv: Use expected affinity when unmasking IRQ (bsc#1185973).
  • Revert 'memcg: enable accounting for file lock caches (bsc#1190115).' This reverts commit 912b4421a3e9bb9f0ef1aadc64a436666259bd4d. It's effectively upstream commit 3754707bcc3e190e5dadc978d172b61e809cb3bd applied to kernel-source (to avoid proliferation of patches). Make a note in blacklist.conf too.
  • s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant (bsc#1190601).
  • s390/bpf: Fix branch shortening during codegen pass (bsc#1190601).
  • s390/bpf: Fix optimizing out zero-extensions (bsc#1190601).
  • s390: bpf: implement jitting of BPFALU | BPFARSH | BPF_* (bsc#1190601).
  • s390/bpf: Wrap JIT macro parameter usages in parentheses (bsc#1190601).
  • scripts/gitsort/gitsort.py: add bpf git repo
  • scripts/gitsort/gitsort.py: Update nvme repositories
  • scsi: libfc: Fix array index out of bound exception (bsc#1188616).
  • scsi: lpfc: Fix FLOGI failure due to accessing a freed node (bsc#1191349).
  • scsi: lpfc: Fix memory overwrite during FC-GS I/O abort handling (bsc#1191349 bsc#1191457).
  • scsi: lpfc: Keep NDLP reference until after freeing the IOCB after ELS handling (bsc#1191349 bsc#1191457).
  • scsi: target: avoid using luntgpt_gp after unlock (bsc#1186078).
  • sctp: check asoc peer.asconf_capable before processing asconf (bsc#1190351).
  • sctp: fully initialize v4 addr in some functions (bsc#1188563).
  • sysvipc/sem: mitigate semnum index against spectre v1 (bsc#1192802).
  • target: core: Fix sense key for invalid XCOPY request (bsc#1186078).
  • Update config files: Add CONFIGBPFUNPRIVDEFAULTOFF is not set
  • Use /usr/lib/modules as module dir when usermerge is active in the target distro.
  • UsrMerge the kernel (boo#1184804)
  • x86/CPU: Add more Icelake model numbers (bsc#1185758,bsc#1192400).
  • xfrm: xfrmstatemtu should return at least 1280 for ipv6 (bsc#1185377).
References

Affected packages

openSUSE:Leap 15.3 / kernel-debug

Package

Name
kernel-debug
Purl
pkg:rpm/opensuse/kernel-debug&distro=openSUSE%20Leap%2015.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.12.14-197.102.2

Ecosystem specific

{
    "binaries": [
        {
            "kernel-default-man": "4.12.14-197.102.2",
            "kernel-debug-base": "4.12.14-197.102.2",
            "kernel-kvmsmall-base": "4.12.14-197.102.2",
            "kernel-vanilla-livepatch-devel": "4.12.14-197.102.2",
            "kernel-vanilla-devel": "4.12.14-197.102.2",
            "kernel-zfcpdump-man": "4.12.14-197.102.2",
            "kernel-vanilla-base": "4.12.14-197.102.2",
            "kernel-vanilla": "4.12.14-197.102.2"
        }
    ]
}

openSUSE:Leap 15.3 / kernel-default

Package

Name
kernel-default
Purl
pkg:rpm/opensuse/kernel-default&distro=openSUSE%20Leap%2015.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.12.14-197.102.2

Ecosystem specific

{
    "binaries": [
        {
            "kernel-default-man": "4.12.14-197.102.2",
            "kernel-debug-base": "4.12.14-197.102.2",
            "kernel-kvmsmall-base": "4.12.14-197.102.2",
            "kernel-vanilla-livepatch-devel": "4.12.14-197.102.2",
            "kernel-vanilla-devel": "4.12.14-197.102.2",
            "kernel-zfcpdump-man": "4.12.14-197.102.2",
            "kernel-vanilla-base": "4.12.14-197.102.2",
            "kernel-vanilla": "4.12.14-197.102.2"
        }
    ]
}

openSUSE:Leap 15.3 / kernel-kvmsmall

Package

Name
kernel-kvmsmall
Purl
pkg:rpm/opensuse/kernel-kvmsmall&distro=openSUSE%20Leap%2015.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.12.14-197.102.2

Ecosystem specific

{
    "binaries": [
        {
            "kernel-default-man": "4.12.14-197.102.2",
            "kernel-debug-base": "4.12.14-197.102.2",
            "kernel-kvmsmall-base": "4.12.14-197.102.2",
            "kernel-vanilla-livepatch-devel": "4.12.14-197.102.2",
            "kernel-vanilla-devel": "4.12.14-197.102.2",
            "kernel-zfcpdump-man": "4.12.14-197.102.2",
            "kernel-vanilla-base": "4.12.14-197.102.2",
            "kernel-vanilla": "4.12.14-197.102.2"
        }
    ]
}

openSUSE:Leap 15.3 / kernel-vanilla

Package

Name
kernel-vanilla
Purl
pkg:rpm/opensuse/kernel-vanilla&distro=openSUSE%20Leap%2015.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.12.14-197.102.2

Ecosystem specific

{
    "binaries": [
        {
            "kernel-default-man": "4.12.14-197.102.2",
            "kernel-debug-base": "4.12.14-197.102.2",
            "kernel-kvmsmall-base": "4.12.14-197.102.2",
            "kernel-vanilla-livepatch-devel": "4.12.14-197.102.2",
            "kernel-vanilla-devel": "4.12.14-197.102.2",
            "kernel-zfcpdump-man": "4.12.14-197.102.2",
            "kernel-vanilla-base": "4.12.14-197.102.2",
            "kernel-vanilla": "4.12.14-197.102.2"
        }
    ]
}

openSUSE:Leap 15.3 / kernel-zfcpdump

Package

Name
kernel-zfcpdump
Purl
pkg:rpm/opensuse/kernel-zfcpdump&distro=openSUSE%20Leap%2015.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.12.14-197.102.2

Ecosystem specific

{
    "binaries": [
        {
            "kernel-default-man": "4.12.14-197.102.2",
            "kernel-debug-base": "4.12.14-197.102.2",
            "kernel-kvmsmall-base": "4.12.14-197.102.2",
            "kernel-vanilla-livepatch-devel": "4.12.14-197.102.2",
            "kernel-vanilla-devel": "4.12.14-197.102.2",
            "kernel-zfcpdump-man": "4.12.14-197.102.2",
            "kernel-vanilla-base": "4.12.14-197.102.2",
            "kernel-vanilla": "4.12.14-197.102.2"
        }
    ]
}