p PatchFirst

PatchFirst · Latest vulnerabilities

linux-azure-4.15 vulnerabilities · Page 33

Vulnerabilities published for linux-azure-4.15 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 1270

  1. CVE-2021-47541

    High · CVSS 7.8EPSS 0.29%Fix available

    net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources()

    In the Linux kernel, the following vulnerability has been resolved: net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources() In mlx4_en_try_alloc_resources(), mlx4_en_copy_priv() is called and tmp->tx_cq will be freed on the error path of mlx4_en_copy_priv(). After that mlx4_en_alloc_resources() is called and there is a dereference of &tmp->tx_cq[t][i] in mlx4_en_alloc_resources(), which could lead to a use after free problem on failure of mlx4_en_copy_priv(). Fix this bug by adding a check of mlx4_en_copy_priv() This bug was found by a static analyzer. The analysis employs differential checking to identify inconsistent sec

    • Update to 4.15.0-1131.144
    Published Updated
  2. CVE-2021-47527

    Medium · CVSS 6.7EPSS 0.25%Fix available

    serial: core: fix transmit-buffer reset and memleak

    In the Linux kernel, the following vulnerability has been resolved: serial: core: fix transmit-buffer reset and memleak Commit 761ed4a94582 ("tty: serial_core: convert uart_close to use tty_port_close") converted serial core to use tty_port_close() but failed to notice that the transmit buffer still needs to be freed on final close. Not freeing the transmit buffer means that the buffer is no longer cleared on next open so that any ioctl() waiting for the buffer to drain might wait indefinitely (e.g. on termios changes) or that stale data can end up being transmitted in case tx is restarted. Furthermore, the buffer of any port that has bee

    • Update to 4.15.0-1131.144
    Published Updated
  3. CVE-2021-47521

    High · CVSS 7.8EPSS 0.24%Fix available

    can: sja1000: fix use after free in ems_pcmcia_add_card()

    In the Linux kernel, the following vulnerability has been resolved: can: sja1000: fix use after free in ems_pcmcia_add_card() If the last channel is not available then "dev" is freed. Fortunately, we can just use "pdev->irq" instead. Also we should check if at least one channel was set up.

    • Update to 4.15.0-1131.144
    Published Updated
  4. CVE-2021-47520

    High · CVSS 8.8EPSS 0.34%Fix available

    can: pch_can: pch_can_rx_normal: fix use after free

    In the Linux kernel, the following vulnerability has been resolved: can: pch_can: pch_can_rx_normal: fix use after free After calling netif_receive_skb(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is dereferenced just after the call netif_receive_skb(skb). Reordering the lines solves the issue.

    • Update to 4.15.0-1131.144
    Published Updated
  5. CVE-2021-47518

    Medium · CVSS 5.7EPSS 0.24%Fix available

    nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done

    In the Linux kernel, the following vulnerability has been resolved: nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done The done() netlink callback nfc_genl_dump_ses_done() should check if received argument is non-NULL, because its allocation could fail earlier in dumpit() (nfc_genl_dump_ses()).

    • Update to 4.15.0-1131.144
    Published Updated
  6. CVE-2021-47516

    Medium · CVSS 5.5EPSS 0.24%Fix available

    nfp: Fix memory leak in nfp_cpp_area_cache_add()

    In the Linux kernel, the following vulnerability has been resolved: nfp: Fix memory leak in nfp_cpp_area_cache_add() In line 800 (#1), nfp_cpp_area_alloc() allocates and initializes a CPP area structure. But in line 807 (#2), when the cache is allocated failed, this CPP area structure is not freed, which will result in memory leak. We can fix it by freeing the CPP area when the cache is allocated failed (#2). 792 int nfp_cpp_area_cache_add(struct nfp_cpp *cpp, size_t size) 793 { 794 struct nfp_cpp_area_cache *cache; 795 struct nfp_cpp_area *area; 800 area = nfp_cpp_area_alloc(cpp, NFP_CPP_ID(7, NFP_CPP_ACTION_RW, 0), 801 0, size)

    • Update to 4.15.0-1131.144
    Published Updated
  7. CVE-2021-47515

    High · CVSS 7.5EPSS 0.75%Fix available

    seg6: fix the iif in the IPv6 socket control block

    In the Linux kernel, the following vulnerability has been resolved: seg6: fix the iif in the IPv6 socket control block When an IPv4 packet is received, the ip_rcv_core(...) sets the receiving interface index into the IPv4 socket control block (v5.16-rc4, net/ipv4/ip_input.c line 510): IPCB(skb)->iif = skb->skb_iif; If that IPv4 packet is meant to be encapsulated in an outer IPv6+SRH header, the seg6_do_srh_encap(...) performs the required encapsulation. In this case, the seg6_do_srh_encap function clears the IPv6 socket control block (v5.16-rc4 net/ipv6/seg6_iptunnel.c line 163): memset(IP6CB(skb), 0, sizeof(*IP6CB(skb))); The m

    • Update to 4.15.0-1131.144
    Published Updated
  8. CVE-2021-47511

    Medium · CVSS 5.5EPSS 0.24%Fix available

    ALSA: pcm: oss: Fix negative period/buffer sizes

    In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Fix negative period/buffer sizes The period size calculation in OSS layer may receive a negative value as an error, but the code there assumes only the positive values and handle them with size_t. Due to that, a too big value may be passed to the lower layers. This patch changes the code to handle with ssize_t and adds the proper error checks appropriately.

    • Update to 4.15.0-1131.144
    Published Updated
  9. CVE-2021-47509

    Medium · CVSS 5.5EPSS 0.24%Fix available

    ALSA: pcm: oss: Limit the period size to 16MB

    In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Limit the period size to 16MB Set the practical limit to the period size (the fragment shift in OSS) instead of a full 31bit; a too large value could lead to the exhaust of memory as we allocate temporary buffers of the period size, too. As of this patch, we set to 16MB limit, which should cover all use cases.

    • Update to 4.15.0-1131.144
    Published Updated
  10. CVE-2021-47506

    Critical · CVSS 9.8EPSS 0.78%Fix available

    nfsd: fix use-after-free due to delegation race

    In the Linux kernel, the following vulnerability has been resolved: nfsd: fix use-after-free due to delegation race A delegation break could arrive as soon as we've called vfs_setlease. A delegation break runs a callback which immediately (in nfsd4_cb_recall_prepare) adds the delegation to del_recall_lru. If we then exit nfs4_set_delegation without hashing the delegation, it will be freed as soon as the callback is done with it, without ever being removed from del_recall_lru. Symptoms show up later as use-after-free or list corruption warnings, usually in the laundromat thread. I suspect aba2072f4523 "nfsd: grant read delegations to cli

    • Update to 4.15.0-1131.144
    Published Updated
  11. CVE-2021-47500

    High · CVSS 7.8EPSS 0.24%Fix available

    iio: mma8452: Fix trigger reference couting

    In the Linux kernel, the following vulnerability has been resolved: iio: mma8452: Fix trigger reference couting The mma8452 driver directly assigns a trigger to the struct iio_dev. The IIO core when done using this trigger will call `iio_trigger_put()` to drop the reference count by 1. Without the matching `iio_trigger_get()` in the driver the reference count can reach 0 too early, the trigger gets freed while still in use and a use-after-free occurs. Fix this by getting a reference to the trigger before assigning it to the IIO device.

    • Update to 4.15.0-1131.144
    Published Updated
  12. CVE-2021-47499

    Medium · CVSS 5.5EPSS 0.24%Fix available

    iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove

    In the Linux kernel, the following vulnerability has been resolved: iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove When ACPI type is ACPI_SMO8500, the data->dready_trig will not be set, the memory allocated by iio_triggered_buffer_setup() will not be freed, and cause memory leak as follows: unreferenced object 0xffff888009551400 (size 512): comm "i2c-SMO8500-125", pid 911, jiffies 4294911787 (age 83.852s) hex dump (first 32 bytes): 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 20 e2 e5 c0 ff ff ff ff ........ ....... backtrace: [<0000000041ce75ee>] kmem_ca

    • Update to 4.15.0-1131.144
    Published Updated
  13. CVE-2021-47497

    High · CVSS 7.8EPSS 0.22%Fix available

    nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells

    In the Linux kernel, the following vulnerability has been resolved: nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells If a cell has 'nbits' equal to a multiple of BITS_PER_BYTE the logic *p &= GENMASK((cell->nbits%BITS_PER_BYTE) - 1, 0); will become undefined behavior because nbits modulo BITS_PER_BYTE is 0, and we subtract one from that making a large number that is then shifted more than the number of bits that fit into an unsigned long. UBSAN reports this problem: UBSAN: shift-out-of-bounds in drivers/nvmem/core.c:1386:8 shift exponent 64 is too large for 64-bit type 'unsigned long' CPU: 6 PID: 7 Comm: kworker/u16:0 Not

    • Update to 4.15.0-1129.142
    Published Updated
  14. CVE-2021-47485

    High · CVSS 7.8EPSS 0.24%Fix available

    IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields

    In the Linux kernel, the following vulnerability has been resolved: IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields Overflowing either addrlimit or bytes_togo can allow userspace to trigger a buffer overflow of kernel memory. Check for overflows in all the places doing math on user controlled buffers.

    • Update to 4.15.0-1131.144
    Published Updated
  15. CVE-2021-47483

    High · CVSS 7.8EPSS 0.23%Fix available

    regmap: Fix possible double-free in regcache_rbtree_exit()

    In the Linux kernel, the following vulnerability has been resolved: regmap: Fix possible double-free in regcache_rbtree_exit() In regcache_rbtree_insert_to_block(), when 'present' realloc failed, the 'blk' which is supposed to assign to 'rbnode->block' will be freed, so 'rbnode->block' points a freed memory, in the error handling path of regcache_rbtree_init(), 'rbnode->block' will be freed again in regcache_rbtree_exit(), KASAN will report double-free as follows: BUG: KASAN: double-free or invalid-free in kfree+0xce/0x390 Call Trace: slab_free_freelist_hook+0x10d/0x240 kfree+0xce/0x390 regcache_rbtree_exit+0x15d/0x1a0 regcache_rbtree_

    • Update to 4.15.0-1131.144
    Published Updated
  16. CVE-2021-47482

    Medium · CVSS 5.3EPSS 0.74%Fix available

    net: batman-adv: fix error handling

    In the Linux kernel, the following vulnerability has been resolved: net: batman-adv: fix error handling Syzbot reported ODEBUG warning in batadv_nc_mesh_free(). The problem was in wrong error handling in batadv_mesh_init(). Before this patch batadv_mesh_init() was calling batadv_mesh_free() in case of any batadv_*_init() calls failure. This approach may work well, when there is some kind of indicator, which can tell which parts of batadv are initialized; but there isn't any. All written above lead to cleaning up uninitialized fields. Even if we hide ODEBUG warning by initializing bat_priv->nc.work, syzbot was able to hit GPF in batadv_nc_

    • Update to 4.15.0-1131.144
    Published Updated
  17. CVE-2021-47480

    Medium · CVSS 5.5EPSS 0.21%Fix available

    scsi: core: Put LLD module refcnt after SCSI device is released

    In the Linux kernel, the following vulnerability has been resolved: scsi: core: Put LLD module refcnt after SCSI device is released SCSI host release is triggered when SCSI device is freed. We have to make sure that the low-level device driver module won't be unloaded before SCSI host instance is released because shost->hostt is required in the release handler. Make sure to put LLD module refcnt after SCSI device is released. Fixes a kernel panic of 'BUG: unable to handle page fault for address' reported by Changhui and Yi.

    • Update to 4.15.0-1131.144
    Published Updated
  18. CVE-2021-47478

    Critical · CVSS 9.1EPSS 0.69%Fix available

    isofs: Fix out of bound access for corrupted isofs image

    In the Linux kernel, the following vulnerability has been resolved: isofs: Fix out of bound access for corrupted isofs image When isofs image is suitably corrupted isofs_read_inode() can read data beyond the end of buffer. Sanity-check the directory entry length before using it.

    • Update to 4.15.0-1131.144
    Published Updated
  19. CVE-2021-47477

    Medium · CVSS 5.3EPSS 0.72%Fix available

    comedi: dt9812: fix DMA buffers on stack

    In the Linux kernel, the following vulnerability has been resolved: comedi: dt9812: fix DMA buffers on stack USB transfer buffers are typically mapped for DMA and must not be allocated on the stack or transfers will fail. Allocate proper transfer buffers in the various command helpers and return an error on short transfers instead of acting on random stack data. Note that this also fixes a stack info leak on systems where DMA is not used as 32 bytes are always sent to the device regardless of how short the command is.

    • Update to 4.15.0-1131.144
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →