Coverity Scan: Linux

Project Name Linux
Lines of code analyzed 15,650,718
On Coverity Scan since Feb 24, 2006
Last build analyzed about 10 hours ago
   
Language C/C++
Repository URL http://git.kernel.org/
Homepage URL N/A
License N/A

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 5.4.0-rc3

Oct 14, 2019
Last Analyzed
15,650,718
Lines of Code Analyzed
0.41
Defect Density

Defect changes since previous build dated Oct 08, 2019

5
Newly detected
12
Eliminated

Defects by status for current build

40,723
Total defects
6,342
Outstanding
33,684
Fixed
See how defect density for 'Linux' compares with defect density for other open source projects.  Learn more

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
ACPI .*/acpi/.* No 107,541 0.44
Block .*/block/.* No 102,632 0.76
Crypto .*/crypto/.* No 157,916 0.62
KVM /virt/kvm/.*|/arch/x86/kvm/.* No 50,119 1.02
Arch-x86 .*/arch/x86/.* No 185,540 0.40
Kernel .*/kernel/.* No 218,347 0.67
Lib .*/lib/.* No 558,825 0.24
MM .*/mm/.* No 82,120 0.73
Sound-line6 .*/sound/usb/line6/.* No 3,747 0.80
Sound .*/sound/.* No 856,267 0.23
Security-Apparmor .*/security/apparmor/.* No 12,144 0.25
Security-Integrity .*/security/integrity/.* No 6,309 0.79
Security-SMACK .*/security/smack/.* No 5,400 1.11
Security-SELinux .*/security/selinux/.* No 21,347 0.80
Security-Tomoyo .*/security/tomoyo/.* No 8,259 0.36
Security-Yama .*/security/yama/.* No 334 0.00
Security .*/security/.* No 12,754 0.39
FS-9P .*/fs/9p/.* No 4,634 0.43
FS-AFS .*/fs/afs/.* No 17,026 0.88
FS-BTRFS .*/fs/btrfs.* No 98,014 0.44
FS-CEPH .*/fs/ceph/.* No 20,354 1.03
FS-CIFS .*/fs/cifs/.* No 53,891 1.50
FS-EXTn .*/fs/ext.*/.* No 45,618 0.75
FS-GFS2 .*/fs/gfs2/.* No 21,556 0.56
FS-HFS .*/fs/hfs/.* No 4,540 0.44
FS-HFSPlus .*/fs/hfsplus/.* No 9,327 0.54
FS-JBD .*/fs/jbd.*/.* No 5,218 1.15
FS-JFS .*/fs/jfs/.* No 17,670 0.91
FS-JFFS2 .*/fs/jffs2/.* No 13,452 0.74
FS-NFS .*/fs/nfs/.* No 56,328 0.36
FS-NFSD .*/fs/nfsd/.* No 29,379 0.71
FS-NILFS2 .*/fs/nilfs2/.* No 16,194 0.43
FS-NTFS .*/fs/ntfs/.* No 17,250 0.93
FS-OCFS2 .*/fs/ocfs2/.* No 67,035 0.61
FS-PROC .*/fs/proc/.* No 11,164 0.36
FS-Reiserfs .*/fs/reiserfs/.* No 21,503 0.56
FS-UBIFS .*/fs/ubifs/.* No 24,301 0.41
FS-UDF .*/fs/udf/.* No 8,761 0.23
FS-UFS .*/fs/ufs/.* No 5,777 1.38
FS-XFS .*/fs/xfs/.* No 94,066 0.33
FS .*/fs/.* No 269,945 0.63
Drivers-ATA .*/drivers/ata/.* No 50,532 0.32
Drivers-ATM .*/drivers/atm/.* No 31,279 0.38
Drivers-Bluetooth .*/drivers/bluetooth/.* No 20,386 0.34
Drivers-char .*/drivers/char/.* No 50,982 0.45
GPU-GMA500 .*/drivers/gpu/drm/gma500/.* No 22,002 0.68
GPU-i915 .*/drivers/gpu/drm/i915/.* No 180,649 0.46
GPU-Nouveau .*/drivers/gpu/drm/nouveau/.* No 140,917 0.79
GPU-qxl .*/drivers/gpu/drm/qxl/.* No 5,056 1.19
GPU-Radeon .*/drivers/gpu/drm/radeon/.* No 159,769 0.51
Drivers-GPU .*/drivers/gpu/.* No 2,045,168 0.17
Drivers-HID .*/drivers/hid/.* No 69,432 0.19
Drivers-i2c .*/drivers/i2c/.* No 42,742 0.12
Drivers-HWMON .*/drivers/hwmon/.* No 111,955 0.10
Drivers-Infiniband .*/drivers/infiniband/.* No 321,071 0.55
Drivers-Input .*/drivers/input/.* No 133,966 0.27
Drivers-IDE .*/drivers/ide/.* No 21,542 0.46
Drivers-IIO .*/drivers/iio/.* No 163,951 0.19
Drivers-ISDN .*/drivers/isdn/.* No 34,962 0.29
Drivers-EDAC .*/drivers/edac/.* No 24,162 0.46
Drivers-Firewire .*/drivers/firewire/.* No 10,990 0.27
Drivers-MD .*/drivers/md/.* No 96,511 0.77
Drivers-MFD .*/drivers/mfd/.* No 76,825 0.13
Drivers-Media .*/drivers/media/.* No 939,193 0.30
Drivers-Message .*/drivers/message/.* No 24,736 0.61
Drivers-Platform .*/drivers/platform/.* No 65,490 0.61
Drivers-PCI .*/drivers/pci/.* No 60,090 0.58
Drivers-RTC .*/drivers/rtc/.* No 50,472 0.06
Drivers-TTY .*/drivers/tty/.* No 99,317 0.21
Ethernet-broadcom .*/drivers/net/ethernet/broadcom/.* No 136,097 0.21
Ethernet-DEC .*/drivers/net/ethernet/dec/.* No 14,814 0.34
Ethernet-Chelsio .*/drivers/net/ethernet/chelsio/.* No 71,067 0.42
Ethernet-Emulex .*/drivers/net/ethernet/emulex/.* No 13,173 0.15
Ethernet-Intel .*/drivers/net/ethernet/intel/.* No 187,554 0.16
Ethernet-Mellanox .*/drivers/net/ethernet/mellanox/.* No 145,373 0.31
Ethernet-Neterion .*/drivers/net/ethernet/neterion/.* No 23,790 0.84
Ethernet-QLogic .*/drivers/net/ethernet/qlogic/.* No 109,103 0.41
Ethernet-SFC /drivers/net/ethernet/sfc/.* No 51,641 0.19
Drivers-Ethernet .*/drivers/net/ethernet/.* No 495,644 0.37
Drivers-Misc .*/drivers/misc/.* No 108,741 0.70
Drivers-MTD .*/drivers/mtd/.* No 102,927 0.58
WIFI-Atheros .*/drivers/net/wireless/ath/.* No 213,859 0.21
WIFI-b43 .*/drivers/net/wireless/b43/.* No 0 N/A
WIFI-b43legacy .*/drivers/net/wireless/b43legacy/.* No 0 N/A
WIFI-brcm80211 .*/drivers/net/wireless/brcm80211/.* No 0 N/A
WIFI-cw1200 .*/drivers/net/wireless/cw1200/.* No 0 N/A
WIFI-ipw2x00 .*/drivers/net/wireless/ipw2x00/.* No 0 N/A
WIFI-iwlegacy .*/drivers/net/wireless/iwlegacy/.* No 0 N/A
WIFI-iwlwifi .*/drivers/net/wireless/iwlwifi/.* No 0 N/A
WIFI-mwifiex .*/drivers/net/wireless/mwifiex/.* No 0 N/A
WIFI-rt2x00 .*/drivers/net/wireless/rt2x00/.* No 0 N/A
WIFI-rtl818x .*/drivers/net/wireless/rtl818x/.* No 0 N/A
WIFI-rtl8821 .*/drivers/net/wireless/rtlwifi/rtl8821ae/.* No 0 N/A
WIFI-rtlwifi .*/drivers/net/wireless/rtlwifi/.* No 0 N/A
WIFI-TI .*/drivers/net/wireless/ti/.* No 31,591 0.57
Drivers-wireless .*/drivers/net/wireless/.* No 695,921 0.42
Drivers-Net .*/drivers/net/.* No 275,623 0.36
Drivers-MMC .*/drivers/mmc/.* No 58,373 0.29
Drivers-SPI .*/drivers/spi/.* No 53,141 0.41
Drivers-UWB .*/drivers/uwb/.*.* No 0 N/A
Drivers-Framebuffer .*/drivers/video/.* No 177,184 0.43
Drivers-Watchdog .*/drivers/watchdog/.* No 30,540 0.33
Drivers-Xen .*/drivers/xen/.* No 22,023 1.32
Staging-comedi .*/drivers/staging/comedi/.* No 99,557 0.16
Staging-iio .*/drivers/staging/iio/.* No 9,404 0.43
Staging-lustre .*/drivers/staging/lustre/.* No 0 N/A
Staging-media .*/drivers/staging/media/.* No 48,911 0.22
Staging-rtl8188eu .*/drivers/staging/rtl8188eu/.* No 37,141 0.73
Staging-rtl8192e .*/drivers/staging/rtl8192e/.* No 24,377 0.53
Staging-rtl8192u .*/drivers/staging/rtl8192u/.* No 21,701 0.55
Staging-rtl8712 .*/drivers/staging/rtl8712/.* No 22,658 1.02
Staging-vt6655 .*/drivers/staging/vt6655/.* No 8,159 0.12
Staging-rts5208 .*/drivers/staging/rts5208/.* No 18,912 0.69
Staging-unisys .*/drivers/staging/unisys/.* No 2,994 0.00
Staging-vt6656 .*/drivers/staging/vt6656/.* No 5,609 0.18
Drivers-Staging .*/drivers/staging/.* No 231,019 0.54
Drivers-USB .*/drivers/usb/.* No 326,421 0.36
SCSI-aic7xxx .*/drivers/scsi/aic7xxx/.* No 30,291 0.36
SCSI-be2iscsi .*/drivers/scsi/be2iscsi/.* No 10,790 1.39
SCSI-bfa .*/drivers/scsi/bfa/.* No 42,407 0.33
SCSI-bnx2fc .*/drivers/scsi/bnx2fc/.* No 8,138 0.37
SCSI-csiostor .*/drivers/scsi/csiostor/.* No 12,788 0.63
SCSI-isci .*/drivers/scsi/isci/.* No 13,276 0.30
SCSI-lpfc .*/drivers/scsi/lpfc/.* No 75,425 0.44
SCSI-megaraid .*/drivers/scsi/megaraid/.* No 18,048 0.61
SCSI-mpt2sas .*/drivers/scsi/mpt2sas/.* No 0 N/A
SCSI-mpt3sas .*/drivers/scsi/mpt3sas/.* No 26,953 0.59
SCSI-pm8001 .*/drivers/scsi/pm8001/.* No 13,696 0.88
SCSI-qla2xxx .*/drivers/scsi/qla2xxx/.* No 65,023 0.28
SCSI-qla4xxx .*/drivers/scsi/qla4xxx/.* No 21,822 0.73
Drivers-SCSI .*/drivers/scsi/.* No 297,828 0.53
Drivers-target .*/drivers/target/.* No 45,837 0.48
Drivers-NFC /drivers/nfc/.* No 19,023 0.47
Drivers .*/drivers/.* No 1,006,297 0.33
Net-802 .*/net/802.*/.* No 4,259 0.47
Net-Bluetooth .*/net/bluetooth/.* No 45,307 0.33
Net-bridge .*/net/bridge/.* No 18,844 0.64
Net-CAIF .*/net/caif/.* No 5,080 1.57
Net-Core .*/net/core/.* No 55,785 0.20
Net-DCCP .*/net/dccp/.* No 7,737 0.90
Net-DECNET .*/net/decnet/.* No 7,931 1.01
Net-ipv4 .*/net/ipv4/.* No 72,998 0.47
Net-ipv6 .*/net/ipv6/.* No 54,004 0.41
Net-IRDA .*/net/irda/.* No 0 N/A
Net-mac80211 .*/net/mac80211/.* No 50,074 0.36
Net-NFC .*/net/nfc/.* No 15,304 0.52
Net-SCTP .*/net/sctp/.* No 28,892 0.55
Net-SunRPC .*/net/sunrpc/.* No 31,765 0.57
Net-sched .*/net/sched/.* No 44,403 0.41
Net-Wireless .*/net/wireless/.* No 34,879 0.14
Net-XFRM .*/net/xfrm/.* No 12,709 0.63
Networking .*/net/.* No 355,135 0.48
Tools /tools/.* No 260,905 2.53
arm64 .*/arch/arm64/.* No 0 N/A
arm .*/arch/arm/.* No 427 0.00
Powerpc .*/arch/powerpc/.* No 0 N/A
Other .* No 585,329 0.21

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 21
190 Integer Overflow or Wraparound 69
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project