p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in linux · Seite 163

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für linux: 252. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 4217

  1. CVE-2021-47330

    Mittel · CVSS 5.5EPSS 0,24%Keine Korrektur veröffentlicht

    tty: serial: 8250: serial_cs: Fix a memory leak in error handling path

    In the Linux kernel, the following vulnerability has been resolved: tty: serial: 8250: serial_cs: Fix a memory leak in error handling path In the probe function, if the final 'serial_config()' fails, 'info' is leaking. Add a resource handling path to free this memory.

    Veröffentlicht Aktualisiert
  2. CVE-2021-47329

    Mittel · CVSS 6.2EPSS 0,26%Keine Korrektur veröffentlicht

    scsi: megaraid_sas: Fix resource leak in case of probe failure

    In the Linux kernel, the following vulnerability has been resolved: scsi: megaraid_sas: Fix resource leak in case of probe failure The driver doesn't clean up all the allocated resources properly when scsi_add_host(), megasas_start_aen() function fails during the PCI device probe. Clean up all those resources.

    Veröffentlicht Aktualisiert
  3. CVE-2021-47328

    Kritisch · CVSS 9.8EPSS 0,77%Keine Korrektur veröffentlicht

    scsi: iscsi: Fix conn use after free during resets

    In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: Fix conn use after free during resets If we haven't done a unbind target call we can race where iscsi_conn_teardown wakes up the EH thread and then frees the conn while those threads are still accessing the conn ehwait. We can only do one TMF per session so this just moves the TMF fields from the conn to the session. We can then rely on the iscsi_session_teardown->iscsi_remove_session->__iscsi_unbind_session call to remove the target and it's devices, and know after that point there is no device or scsi-ml callout trying to access the session.

    Veröffentlicht Aktualisiert
  4. CVE-2021-47324

    Hoch · CVSS 8.8EPSS 1,16%Keine Korrektur veröffentlicht

    watchdog: Fix possible use-after-free in wdt_startup()

    In the Linux kernel, the following vulnerability has been resolved: watchdog: Fix possible use-after-free in wdt_startup() This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.

    Veröffentlicht Aktualisiert
  5. CVE-2021-47323

    Hoch · CVSS 8.8EPSS 1,16%Keine Korrektur veröffentlicht

    watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()

    In the Linux kernel, the following vulnerability has been resolved: watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff() This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.

    Veröffentlicht Aktualisiert
  6. CVE-2021-47315

    Mittel · CVSS 5.5EPSS 0,25%Keine Korrektur veröffentlicht

    memory: fsl_ifc: fix leak of IO mapping on probe failure

    In the Linux kernel, the following vulnerability has been resolved: memory: fsl_ifc: fix leak of IO mapping on probe failure On probe error the driver should unmap the IO memory. Smatch reports: drivers/memory/fsl_ifc.c:298 fsl_ifc_ctrl_probe() warn: 'fsl_ifc_ctrl_dev->gregs' not released on lines: 298.

    Veröffentlicht Aktualisiert
  7. CVE-2021-47314

    Mittel · CVSS 5.5EPSS 0,24%Keine Korrektur veröffentlicht

    memory: fsl_ifc: fix leak of private memory on probe failure

    In the Linux kernel, the following vulnerability has been resolved: memory: fsl_ifc: fix leak of private memory on probe failure On probe error the driver should free the memory allocated for private structure. Fix this by using resource-managed allocation.

    Veröffentlicht Aktualisiert
  8. CVE-2021-47310

    Hoch · CVSS 7.8EPSS 0,25%Keine Korrektur veröffentlicht

    net: ti: fix UAF in tlan_remove_one

    In the Linux kernel, the following vulnerability has been resolved: net: ti: fix UAF in tlan_remove_one priv is netdev private data and it cannot be used after free_netdev() call. Using priv after free_netdev() can cause UAF bug. Fix it by moving free_netdev() at the end of the function.

    Veröffentlicht Aktualisiert
  9. CVE-2021-47307

    Hoch · CVSS 7.5EPSS 0,69%Keine Korrektur veröffentlicht

    cifs: prevent NULL deref in cifs_compose_mount_options()

    In the Linux kernel, the following vulnerability has been resolved: cifs: prevent NULL deref in cifs_compose_mount_options() The optional @ref parameter might contain an NULL node_name, so prevent dereferencing it in cifs_compose_mount_options(). Addresses-Coverity: 1476408 ("Explicit null dereferenced")

    Veröffentlicht Aktualisiert
  10. CVE-2021-47297

    Mittel · CVSS 5.5EPSS 0,23%Keine Korrektur veröffentlicht

    net: fix uninit-value in caif_seqpkt_sendmsg

    In the Linux kernel, the following vulnerability has been resolved: net: fix uninit-value in caif_seqpkt_sendmsg When nr_segs equal to zero in iovec_from_user, the object msg->msg_iter.iov is uninit stack memory in caif_seqpkt_sendmsg which is defined in ___sys_sendmsg. So we cann't just judge msg->msg_iter.iov->base directlly. We can use nr_segs to judge msg in caif_seqpkt_sendmsg whether has data buffers. ===================================================== BUG: KMSAN: uninit-value in caif_seqpkt_sendmsg+0x693/0xf60 net/caif/caif_socket.c:542 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x220 lib/dump_stack.c

    Veröffentlicht Aktualisiert
  11. CVE-2021-47288

    Hoch · CVSS 7.1EPSS 0,23%Keine Korrektur veröffentlicht

    media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()

    In the Linux kernel, the following vulnerability has been resolved: media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf() Fix an 11-year old bug in ngene_command_config_free_buf() while addressing the following warnings caught with -Warray-bounds: arch/alpha/include/asm/string.h:22:16: warning: '__builtin_memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'config' with type 'unsigned char' at offset 10 [-Warray-bounds] arch/x86/include/asm/string_32.h:182:25: warning: '__builtin_memcpy' offset [12, 16] from the object at 'com' is out of the bounds of referenced subobject 'config'

    Veröffentlicht Aktualisiert
  12. CVE-2021-47284

    Mittel · CVSS 4.7EPSS 0,23%Keine Korrektur veröffentlicht

    isdn: mISDN: netjet: Fix crash in nj_probe:

    In the Linux kernel, the following vulnerability has been resolved: isdn: mISDN: netjet: Fix crash in nj_probe: 'nj_setup' in netjet.c might fail with -EIO and in this case 'card->irq' is initialized and is bigger than zero. A subsequent call to 'nj_release' will free the irq that has not been requested. Fix this bug by deleting the previous assignment to 'card->irq' and just keep the assignment before 'request_irq'. The KASAN's log reveals it: [ 3.354615 ] WARNING: CPU: 0 PID: 1 at kernel/irq/manage.c:1826 free_irq+0x100/0x480 [ 3.355112 ] Modules linked in: [ 3.355310 ] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-rc1-0014

    Veröffentlicht Aktualisiert
  13. CVE-2021-47281

    Hoch · CVSS 7.8EPSS 0,24%Keine Korrektur veröffentlicht

    ALSA: seq: Fix race of snd_seq_timer_open()

    In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: Fix race of snd_seq_timer_open() The timer instance per queue is exclusive, and snd_seq_timer_open() should have managed the concurrent accesses. It looks as if it's checking the already existing timer instance at the beginning, but it's not right, because there is no protection, hence any later concurrent call of snd_seq_timer_open() may override the timer instance easily. This may result in UAF, as the leftover timer instance can keep running while the queue itself gets closed, as spotted by syzkaller recently. For avoiding the race, add a proper check at th

    Veröffentlicht Aktualisiert
  14. CVE-2021-47277

    Hoch · CVSS 7.1EPSS 0,26%Keine Korrektur veröffentlicht

    kvm: avoid speculation-based attacks from out-of-range memslot accesses

    In the Linux kernel, the following vulnerability has been resolved: kvm: avoid speculation-based attacks from out-of-range memslot accesses KVM's mechanism for accessing guest memory translates a guest physical address (gpa) to a host virtual address using the right-shifted gpa (also known as gfn) and a struct kvm_memory_slot. The translation is performed in __gfn_to_hva_memslot using the following formula: hva = slot->userspace_addr + (gfn - slot->base_gfn) * PAGE_SIZE It is expected that gfn falls within the boundaries of the guest's physical memory. However, a guest can access invalid physical addresses in such a way that the g

    Veröffentlicht Aktualisiert
  15. CVE-2021-47276

    Mittel · CVSS 5.5EPSS 0,24%Keine Korrektur veröffentlicht

    ftrace: Do not blindly read the ip address in ftrace_bug()

    In the Linux kernel, the following vulnerability has been resolved: ftrace: Do not blindly read the ip address in ftrace_bug() It was reported that a bug on arm64 caused a bad ip address to be used for updating into a nop in ftrace_init(), but the error path (rightfully) returned -EINVAL and not -EFAULT, as the bug caused more than one error to occur. But because -EINVAL was returned, the ftrace_bug() tried to report what was at the location of the ip address, and read it directly. This caused the machine to panic, as the ip was not pointing to a valid memory address. Instead, read the ip address with copy_from_kernel_nofault() to safely a

    Veröffentlicht Aktualisiert
  16. CVE-2021-47275

    Mittel · CVSS 5.7EPSS 0,2%Keine Korrektur veröffentlicht

    bcache: avoid oversized read request in cache missing code path

    In the Linux kernel, the following vulnerability has been resolved: bcache: avoid oversized read request in cache missing code path In the cache missing code path of cached device, if a proper location from the internal B+ tree is matched for a cache miss range, function cached_dev_cache_miss() will be called in cache_lookup_fn() in the following code block, [code block 1] 526 unsigned int sectors = KEY_INODE(k) == s->iop.inode 527 ? min_t(uint64_t, INT_MAX, 528 KEY_START(k) - bio->bi_iter.bi_sector) 529 : INT_MAX; 530 int ret = s->d->cache_miss(b, s, bio, sec

    Veröffentlicht Aktualisiert
  17. CVE-2021-47269

    Mittel · CVSS 5.5EPSS 0,26%Keine Korrektur veröffentlicht

    usb: dwc3: ep0: fix NULL pointer exception

    In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: ep0: fix NULL pointer exception There is no validation of the index from dwc3_wIndex_to_dep() and we might be referring a non-existing ep and trigger a NULL pointer exception. In certain configurations we might use fewer eps and the index might wrongly indicate a larger ep index than existing. By adding this validation from the patch we can actually report a wrong index back to the caller. In our usecase we are using a composite device on an older kernel, but upstream might use this fix also. Unfortunately, I cannot describe the hardware for others to reproduce

    Veröffentlicht Aktualisiert
  18. CVE-2021-47267

    Mittel · CVSS 6.3EPSS 0,68%Keine Korrektur veröffentlicht

    usb: fix various gadget panics on 10gbps cabling

    In the Linux kernel, the following vulnerability has been resolved: usb: fix various gadget panics on 10gbps cabling usb_assign_descriptors() is called with 5 parameters, the last 4 of which are the usb_descriptor_header for: full-speed (USB1.1 - 12Mbps [including USB1.0 low-speed @ 1.5Mbps), high-speed (USB2.0 - 480Mbps), super-speed (USB3.0 - 5Gbps), super-speed-plus (USB3.1 - 10Gbps). The differences between full/high/super-speed descriptors are usually substantial (due to changes in the maximum usb block size from 64 to 512 to 1024 bytes and other differences in the specs), while the difference between 5 and 10Gbps descriptors

    Veröffentlicht Aktualisiert
  19. CVE-2021-47265

    Mittel · CVSS 6.7EPSS 0,2%Keine Korrektur veröffentlicht

    RDMA: Verify port when creating flow rule

    In the Linux kernel, the following vulnerability has been resolved: RDMA: Verify port when creating flow rule Validate port value provided by the user and with that remove no longer needed validation by the driver. The missing check in the mlx5_ib driver could cause to the below oops. Call trace: _create_flow_rule+0x2d4/0xf28 [mlx5_ib] mlx5_ib_create_flow+0x2d0/0x5b0 [mlx5_ib] ib_uverbs_ex_create_flow+0x4cc/0x624 [ib_uverbs] ib_uverbs_handler_UVERBS_METHOD_INVOKE_WRITE+0xd4/0x150 [ib_uverbs] ib_uverbs_cmd_verbs.isra.7+0xb28/0xc50 [ib_uverbs] ib_uverbs_ioctl+0x158/0x1d0 [ib_uverbs] do_vfs_ioctl+0xd0/0xaf0 ksys_ioctl+0x84/0x

    Veröffentlicht Aktualisiert
  20. CVE-2021-47258

    Mittel · CVSS 5.5EPSS 0,24%Keine Korrektur veröffentlicht

    scsi: core: Fix error handling of scsi_host_alloc()

    In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix error handling of scsi_host_alloc() After device is initialized via device_initialize(), or its name is set via dev_set_name(), the device has to be freed via put_device(). Otherwise device name will be leaked because it is allocated dynamically in dev_set_name(). Fix the leak by replacing kfree() with put_device(). Since scsi_host_dev_release() properly handles IDA and kthread removal, remove special-casing these from the error handling as well.

    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →