# Vulnerabilities published in 2021


- [GSD-2021-1002380](https://insights.sbomify.com/GSD-2021-1002380/): can: pch_can: pch_can_rx_normal: fix use after free (not scored)
- [GSD-2021-1002379](https://insights.sbomify.com/GSD-2021-1002379/): can: sja1000: fix use after free in ems_pcmcia_add_card() (not scored)
- [GSD-2021-1002378](https://insights.sbomify.com/GSD-2021-1002378/): serial: core: fix transmit-buffer reset and memleak (not scored)
- [GSD-2021-1002377](https://insights.sbomify.com/GSD-2021-1002377/): net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings() (not scored)
- [GSD-2021-1002376](https://insights.sbomify.com/GSD-2021-1002376/): sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl (not scored)
- [GSD-2021-1002375](https://insights.sbomify.com/GSD-2021-1002375/): net: ethernet: dec: tulip: de4x5: fix possible array overflows in type3_infoblock() (not scored)
- [GSD-2021-1002374](https://insights.sbomify.com/GSD-2021-1002374/): net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound (not scored)
- [GSD-2021-1002373](https://insights.sbomify.com/GSD-2021-1002373/): ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port() (not scored)
- [GSD-2021-1002372](https://insights.sbomify.com/GSD-2021-1002372/): scsi: mpt3sas: Fix kernel panic during drive powercycle test (not scored)
- [GSD-2021-1002371](https://insights.sbomify.com/GSD-2021-1002371/): ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE (not scored)
- [GSD-2021-1002370](https://insights.sbomify.com/GSD-2021-1002370/): proc/vmcore: fix clearing user buffer by properly using clear_user() (not scored)
- [GSD-2021-1002369](https://insights.sbomify.com/GSD-2021-1002369/): staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect() (not scored)
- [GSD-2021-1002368](https://insights.sbomify.com/GSD-2021-1002368/): iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove (not scored)
- [GSD-2021-1002367](https://insights.sbomify.com/GSD-2021-1002367/): iio: mma8452: Fix trigger reference couting (not scored)
- [GSD-2021-1002366](https://insights.sbomify.com/GSD-2021-1002366/): ALSA: pcm: oss: Limit the period size to 16MB (not scored)
- [GSD-2021-1002365](https://insights.sbomify.com/GSD-2021-1002365/): ALSA: pcm: oss: Fix negative period/buffer sizes (not scored)
- [GSD-2021-1002364](https://insights.sbomify.com/GSD-2021-1002364/): nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done (not scored)
- [GSD-2021-1002363](https://insights.sbomify.com/GSD-2021-1002363/): can: pch_can: pch_can_rx_normal: fix use after free (not scored)
- [GSD-2021-1002362](https://insights.sbomify.com/GSD-2021-1002362/): can: sja1000: fix use after free in ems_pcmcia_add_card() (not scored)
- [GSD-2021-1002361](https://insights.sbomify.com/GSD-2021-1002361/): net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings() (not scored)
- [GSD-2021-1002360](https://insights.sbomify.com/GSD-2021-1002360/): net: ethernet: dec: tulip: de4x5: fix possible array overflows in type3_infoblock() (not scored)
- [GSD-2021-1002359](https://insights.sbomify.com/GSD-2021-1002359/): sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl (not scored)
- [GSD-2021-1002358](https://insights.sbomify.com/GSD-2021-1002358/): net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound (not scored)
- [GSD-2021-1002357](https://insights.sbomify.com/GSD-2021-1002357/): scsi: mpt3sas: Fix kernel panic during drive powercycle test (not scored)
- [GSD-2021-1002356](https://insights.sbomify.com/GSD-2021-1002356/): ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE (not scored)
- [GSD-2021-1002355](https://insights.sbomify.com/GSD-2021-1002355/): proc/vmcore: fix clearing user buffer by properly using clear_user() (not scored)
- [GSD-2021-1002354](https://insights.sbomify.com/GSD-2021-1002354/): staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect() (not scored)
- [GSD-2021-1002351](https://insights.sbomify.com/GSD-2021-1002351/): thermal: Fix NULL pointer dereferences in of_thermal_ functions (not scored)
- [GSD-2021-1002350](https://insights.sbomify.com/GSD-2021-1002350/): clk: sunxi-ng: Unregister clocks/resets when unbinding (not scored)
- [GSD-2021-1002349](https://insights.sbomify.com/GSD-2021-1002349/): scsi: pm80xx: Fix memory leak during rmmod (not scored)
- [GSD-2021-1002348](https://insights.sbomify.com/GSD-2021-1002348/): scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq() (not scored)
- [GSD-2021-1002347](https://insights.sbomify.com/GSD-2021-1002347/): usb: musb: tusb6010: check return value after calling platform_get_resource() (not scored)
- [GSD-2021-1002346](https://insights.sbomify.com/GSD-2021-1002346/): usb: typec: tipd: Remove WARN_ON in tps6598x_block_read (not scored)
- [GSD-2021-1002345](https://insights.sbomify.com/GSD-2021-1002345/): staging: rtl8723bs: remove possible deadlock when disconnect (v2) (not scored)
- [GSD-2021-1002344](https://insights.sbomify.com/GSD-2021-1002344/): staging: rtl8723bs: remove a second possible deadlock (not scored)
- [GSD-2021-1002343](https://insights.sbomify.com/GSD-2021-1002343/): staging: rtl8723bs: remove a third possible deadlock (not scored)
- [GSD-2021-1002342](https://insights.sbomify.com/GSD-2021-1002342/): arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency (not scored)
- [GSD-2021-1002341](https://insights.sbomify.com/GSD-2021-1002341/): ASoC: SOF: Intel: hda-dai: fix potential locking issue (not scored)
- [GSD-2021-1002340](https://insights.sbomify.com/GSD-2021-1002340/): scsi: core: Fix scsi_mode_sense() buffer length handling (not scored)
- [GSD-2021-1002339](https://insights.sbomify.com/GSD-2021-1002339/): scsi: advansys: Fix kernel pointer leak (not scored)
- [GSD-2021-1002338](https://insights.sbomify.com/GSD-2021-1002338/): usb: host: ohci-tmio: check return value after calling platform_get_resource() (not scored)
- [GSD-2021-1002337](https://insights.sbomify.com/GSD-2021-1002337/): tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc (not scored)
- [GSD-2021-1002336](https://insights.sbomify.com/GSD-2021-1002336/): scsi: scsi_debug: Fix out-of-bound read in resp_readcap16() (not scored)
- [GSD-2021-1002335](https://insights.sbomify.com/GSD-2021-1002335/): scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs() (not scored)
- [GSD-2021-1002334](https://insights.sbomify.com/GSD-2021-1002334/): scsi: lpfc: Fix use-after-free in lpfc_unreg_rpi() routine (not scored)
- [GSD-2021-1002333](https://insights.sbomify.com/GSD-2021-1002333/): scsi: lpfc: Fix link down processing to address NULL pointer dereference (not scored)
- [GSD-2021-1002332](https://insights.sbomify.com/GSD-2021-1002332/): ALSA: gus: fix null pointer dereference on pointer block (not scored)
- [GSD-2021-1002331](https://insights.sbomify.com/GSD-2021-1002331/): ALSA: usb-audio: fix null pointer dereference on pointer cs_desc (not scored)
- [GSD-2021-1002330](https://insights.sbomify.com/GSD-2021-1002330/): f2fs: fix incorrect return value in f2fs_sanity_check_ckpt() (not scored)
- [GSD-2021-1002329](https://insights.sbomify.com/GSD-2021-1002329/): sched/fair: Prevent dead task groups from regaining cfs_rq's (not scored)
- [GSD-2021-1002328](https://insights.sbomify.com/GSD-2021-1002328/): perf bpf: Avoid memory leak from perf_env__insert_btf() (not scored)
- [GSD-2021-1002327](https://insights.sbomify.com/GSD-2021-1002327/): perf bench futex: Fix memory leak of perf_cpu_map__new() (not scored)
- [GSD-2021-1002326](https://insights.sbomify.com/GSD-2021-1002326/): net/ipa: ipa_resource: Fix wrong for loop range (not scored)
- [GSD-2021-1002325](https://insights.sbomify.com/GSD-2021-1002325/): NFSD: Fix exposure in nfsd4_decode_bitmap() (not scored)
- [GSD-2021-1002324](https://insights.sbomify.com/GSD-2021-1002324/): iavf: free q_vectors before queues in iavf_disable_vf (not scored)
- [GSD-2021-1002323](https://insights.sbomify.com/GSD-2021-1002323/): iavf: don't clear a lock we don't hold (not scored)
- [GSD-2021-1002322](https://insights.sbomify.com/GSD-2021-1002322/): RDMA/core: Set send and receive CQ before forwarding to the driver (not scored)
- [GSD-2021-1002321](https://insights.sbomify.com/GSD-2021-1002321/): net/mlx5e: kTLS, Fix crash in RX resync flow (not scored)
- [GSD-2021-1002320](https://insights.sbomify.com/GSD-2021-1002320/): net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove() (not scored)
- [GSD-2021-1002319](https://insights.sbomify.com/GSD-2021-1002319/): net/mlx5: Update error handler for UCTX and UMEM (not scored)
- [GSD-2021-1002318](https://insights.sbomify.com/GSD-2021-1002318/): net/mlx5e: CT, Fix multiple allocations and memleak of mod acts (not scored)
- [GSD-2021-1002317](https://insights.sbomify.com/GSD-2021-1002317/): scsi: ufs: core: Improve SCSI abort handling (not scored)
- [GSD-2021-1002316](https://insights.sbomify.com/GSD-2021-1002316/): scsi: core: sysfs: Fix hang when device state is set via sysfs (not scored)
- [GSD-2021-1002315](https://insights.sbomify.com/GSD-2021-1002315/): net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove (not scored)
- [GSD-2021-1002314](https://insights.sbomify.com/GSD-2021-1002314/): i40e: Fix NULL ptr dereference on VSI filter sync (not scored)
- [GSD-2021-1002313](https://insights.sbomify.com/GSD-2021-1002313/): NFC: reorder the logic in nfc_{un,}register_device (not scored)
- [GSD-2021-1002312](https://insights.sbomify.com/GSD-2021-1002312/): NFC: add NCI_UNREG flag to eliminate the race (not scored)
- [GSD-2021-1002311](https://insights.sbomify.com/GSD-2021-1002311/): tipc: check for null after calling kmemdup (not scored)
- [GSD-2021-1002310](https://insights.sbomify.com/GSD-2021-1002310/): hugetlb, userfaultfd: fix reservation restore on userfaultfd error (not scored)
- [GSD-2021-1002309](https://insights.sbomify.com/GSD-2021-1002309/): x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails (not scored)
- [GSD-2021-1002308](https://insights.sbomify.com/GSD-2021-1002308/): spi: fix use-after-free of the add_lock mutex (not scored)
- [GSD-2021-1002307](https://insights.sbomify.com/GSD-2021-1002307/): btrfs: fix memory ordering between normal and ordered work functions (not scored)
- [GSD-2021-1002306](https://insights.sbomify.com/GSD-2021-1002306/): cfg80211: call cfg80211_stop_ap when switch from P2P_GO type (not scored)
- [GSD-2021-1002305](https://insights.sbomify.com/GSD-2021-1002305/): drm/prime: Fix use after free in mmap with drm_gem_ttm_mmap (not scored)
- [GSD-2021-1002304](https://insights.sbomify.com/GSD-2021-1002304/): bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs (not scored)
- [GSD-2021-1002303](https://insights.sbomify.com/GSD-2021-1002303/): selinux: fix NULL-pointer dereference when hashtab allocation fails (not scored)
- [GSD-2021-1002302](https://insights.sbomify.com/GSD-2021-1002302/): thermal: Fix NULL pointer dereferences in of_thermal_ functions (not scored)
- [GSD-2021-1002301](https://insights.sbomify.com/GSD-2021-1002301/): scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq() (not scored)
- [GSD-2021-1002300](https://insights.sbomify.com/GSD-2021-1002300/): usb: musb: tusb6010: check return value after calling platform_get_resource() (not scored)
- [GSD-2021-1002299](https://insights.sbomify.com/GSD-2021-1002299/): usb: typec: tipd: Remove WARN_ON in tps6598x_block_read (not scored)
- [GSD-2021-1002298](https://insights.sbomify.com/GSD-2021-1002298/): staging: rtl8723bs: remove possible deadlock when disconnect (v2) (not scored)
- [GSD-2021-1002297](https://insights.sbomify.com/GSD-2021-1002297/): arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency (not scored)
- [GSD-2021-1002296](https://insights.sbomify.com/GSD-2021-1002296/): ASoC: SOF: Intel: hda-dai: fix potential locking issue (not scored)
- [GSD-2021-1002295](https://insights.sbomify.com/GSD-2021-1002295/): scsi: advansys: Fix kernel pointer leak (not scored)
- [GSD-2021-1002294](https://insights.sbomify.com/GSD-2021-1002294/): usb: host: ohci-tmio: check return value after calling platform_get_resource() (not scored)
- [GSD-2021-1002293](https://insights.sbomify.com/GSD-2021-1002293/): tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc (not scored)
- [GSD-2021-1002292](https://insights.sbomify.com/GSD-2021-1002292/): scsi: scsi_debug: Fix out-of-bound read in resp_readcap16() (not scored)
- [GSD-2021-1002291](https://insights.sbomify.com/GSD-2021-1002291/): scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs() (not scored)
- [GSD-2021-1002290](https://insights.sbomify.com/GSD-2021-1002290/): ALSA: gus: fix null pointer dereference on pointer block (not scored)
- [GSD-2021-1002289](https://insights.sbomify.com/GSD-2021-1002289/): f2fs: fix incorrect return value in f2fs_sanity_check_ckpt() (not scored)
- [GSD-2021-1002288](https://insights.sbomify.com/GSD-2021-1002288/): perf bpf: Avoid memory leak from perf_env__insert_btf() (not scored)
- [GSD-2021-1002287](https://insights.sbomify.com/GSD-2021-1002287/): perf bench futex: Fix memory leak of perf_cpu_map__new() (not scored)
- [GSD-2021-1002286](https://insights.sbomify.com/GSD-2021-1002286/): iavf: free q_vectors before queues in iavf_disable_vf (not scored)
- [GSD-2021-1002285](https://insights.sbomify.com/GSD-2021-1002285/): net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove() (not scored)
- [GSD-2021-1002284](https://insights.sbomify.com/GSD-2021-1002284/): scsi: core: sysfs: Fix hang when device state is set via sysfs (not scored)
- [GSD-2021-1002283](https://insights.sbomify.com/GSD-2021-1002283/): net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove (not scored)
- [GSD-2021-1002282](https://insights.sbomify.com/GSD-2021-1002282/): i40e: Fix NULL ptr dereference on VSI filter sync (not scored)
- [GSD-2021-1002281](https://insights.sbomify.com/GSD-2021-1002281/): NFC: reorder the logic in nfc_{un,}register_device (not scored)
- [GSD-2021-1002280](https://insights.sbomify.com/GSD-2021-1002280/): NFC: add NCI_UNREG flag to eliminate the race (not scored)
- [GSD-2021-1002279](https://insights.sbomify.com/GSD-2021-1002279/): tipc: check for null after calling kmemdup (not scored)

---
From sbomify Insights: https://insights.sbomify.com/years/2021/page/17/
