Coverity Scan: Linux

Project Name Linux
Lines of code analyzed 14,072,408
On Coverity Scan since Feb 24, 2006
Last build analyzed about 1 hour 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: 4.19.0-rc8

Oct 16, 2018
Last Analyzed
14,072,408
Lines of Code Analyzed
0.45
Defect Density

Defect changes since previous build dated Oct 08, 2018

3
Newly detected
4
Eliminated

Defects by status for current build

38,623
Total defects
6,326
Outstanding
31,255
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 105,260 0.47
Block .*/block/.* No 113,681 0.76
Crypto .*/crypto/.* No 144,318 0.67
KVM /virt/kvm/.*|/arch/x86/kvm/.* No 47,199 1.02
Arch-x86 .*/arch/x86/.* No 179,053 0.54
Kernel .*/kernel/.* No 207,521 0.70
Lib .*/lib/.* No 252,555 0.45
MM .*/mm/.* No 78,329 0.68
Sound-line6 .*/sound/usb/line6/.* No 3,827 0.78
Sound .*/sound/.* No 778,300 0.25
Security-Apparmor .*/security/apparmor/.* No 11,841 0.25
Security-Integrity .*/security/integrity/.* No 5,374 1.12
Security-SMACK .*/security/smack/.* No 5,375 1.30
Security-SELinux .*/security/selinux/.* No 21,286 0.47
Security-Tomoyo .*/security/tomoyo/.* No 8,219 1.70
Security-Yama .*/security/yama/.* No 328 3.05
Security .*/security/.* No 11,278 0.27
FS-9P .*/fs/9p/.* No 4,604 0.22
FS-AFS .*/fs/afs/.* No 12,451 1.37
FS-BTRFS .*/fs/btrfs.* No 95,126 0.48
FS-CEPH .*/fs/ceph/.* No 18,504 0.86
FS-CIFS .*/fs/cifs/.* No 48,663 1.29
FS-EXTn .*/fs/ext.*/.* No 43,770 0.73
FS-GFS2 .*/fs/gfs2/.* No 21,423 0.56
FS-HFS .*/fs/hfs/.* No 4,521 0.66
FS-HFSPlus .*/fs/hfsplus/.* No 9,275 0.54
FS-JBD .*/fs/jbd.*/.* No 5,152 0.97
FS-JFS .*/fs/jfs/.* No 17,671 0.68
FS-JFFS2 .*/fs/jffs2/.* No 13,486 0.67
FS-NFS .*/fs/nfs/.* No 55,004 0.22
FS-NFSD .*/fs/nfsd/.* No 26,947 0.67
FS-NILFS2 .*/fs/nilfs2/.* No 16,215 0.49
FS-NTFS .*/fs/ntfs/.* No 17,257 0.87
FS-OCFS2 .*/fs/ocfs2/.* No 67,231 0.65
FS-PROC .*/fs/proc/.* No 10,863 0.46
FS-Reiserfs .*/fs/reiserfs/.* No 21,535 0.42
FS-UBIFS .*/fs/ubifs/.* No 22,984 0.17
FS-UDF .*/fs/udf/.* No 8,694 0.35
FS-UFS .*/fs/ufs/.* No 5,781 0.86
FS-XFS .*/fs/xfs/.* No 92,425 0.32
FS .*/fs/.* No 252,944 0.51
Drivers-ATA .*/drivers/ata/.* No 50,832 0.31
Drivers-ATM .*/drivers/atm/.* No 31,431 0.45
Drivers-Bluetooth .*/drivers/bluetooth/.* No 18,277 0.27
Drivers-char .*/drivers/char/.* No 50,427 0.56
GPU-GMA500 .*/drivers/gpu/drm/gma500/.* No 22,002 0.64
GPU-i915 .*/drivers/gpu/drm/i915/.* No 152,659 0.62
GPU-Nouveau .*/drivers/gpu/drm/nouveau/.* No 136,290 0.82
GPU-qxl .*/drivers/gpu/drm/qxl/.* No 5,586 1.25
GPU-Radeon .*/drivers/gpu/drm/radeon/.* No 160,215 0.43
Drivers-GPU .*/drivers/gpu/.* No 1,381,819 0.16
Drivers-HID .*/drivers/hid/.* No 63,924 0.11
Drivers-i2c .*/drivers/i2c/.* No 40,168 0.15
Drivers-HWMON .*/drivers/hwmon/.* No 109,363 0.05
Drivers-Infiniband .*/drivers/infiniband/.* No 308,754 0.57
Drivers-Input .*/drivers/input/.* No 129,841 0.25
Drivers-IDE .*/drivers/ide/.* No 21,608 0.56
Drivers-IIO .*/drivers/iio/.* No 147,122 0.27
Drivers-ISDN .*/drivers/isdn/.* No 142,331 0.53
Drivers-EDAC .*/drivers/edac/.* No 23,403 0.51
Drivers-Firewire .*/drivers/firewire/.* No 11,017 0.18
Drivers-MD .*/drivers/md/.* No 92,294 0.64
Drivers-MFD .*/drivers/mfd/.* No 71,843 0.11
Drivers-Media .*/drivers/media/.* No 924,285 0.33
Drivers-Message .*/drivers/message/.* No 24,765 0.81
Drivers-Platform .*/drivers/platform/.* No 56,781 0.62
Drivers-PCI .*/drivers/pci/.* No 53,067 0.60
Drivers-RTC .*/drivers/rtc/.* No 47,727 0.36
Drivers-TTY .*/drivers/tty/.* No 95,667 0.26
Ethernet-broadcom .*/drivers/net/ethernet/broadcom/.* No 131,660 0.17
Ethernet-DEC .*/drivers/net/ethernet/dec/.* No 14,837 0.40
Ethernet-Chelsio .*/drivers/net/ethernet/chelsio/.* No 69,845 0.39
Ethernet-Emulex .*/drivers/net/ethernet/emulex/.* No 13,165 0.08
Ethernet-Intel .*/drivers/net/ethernet/intel/.* No 168,011 0.18
Ethernet-Mellanox .*/drivers/net/ethernet/mellanox/.* No 114,781 0.35
Ethernet-Neterion .*/drivers/net/ethernet/neterion/.* No 23,840 0.92
Ethernet-QLogic .*/drivers/net/ethernet/qlogic/.* No 115,376 0.58
Ethernet-SFC /drivers/net/ethernet/sfc/.* No 51,611 0.25
Drivers-Ethernet .*/drivers/net/ethernet/.* No 419,968 0.43
Drivers-Misc .*/drivers/misc/.* No 73,003 0.81
Drivers-MTD .*/drivers/mtd/.* No 100,095 0.50
WIFI-Atheros .*/drivers/net/wireless/ath/.* No 203,053 0.27
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,701 0.28
Drivers-wireless .*/drivers/net/wireless/.* No 625,636 0.55
Drivers-Net .*/drivers/net/.* No 250,584 0.55
Drivers-MMC .*/drivers/mmc/.* No 55,219 0.43
Drivers-SPI .*/drivers/spi/.* No 43,368 0.65
Drivers-UWB .*/drivers/uwb/.*.* No 7,857 1.53
Drivers-Framebuffer .*/drivers/video/.* No 175,069 0.41
Drivers-Watchdog .*/drivers/watchdog/.* No 29,768 0.40
Drivers-Xen .*/drivers/xen/.* No 22,544 1.33
Staging-comedi .*/drivers/staging/comedi/.* No 70,177 0.11
Staging-iio .*/drivers/staging/iio/.* No 10,639 0.28
Staging-lustre .*/drivers/staging/lustre/.* No 0 N/A
Staging-media .*/drivers/staging/media/.* No 34,079 0.79
Staging-rtl8188eu .*/drivers/staging/rtl8188eu/.* No 38,357 0.78
Staging-rtl8192e .*/drivers/staging/rtl8192e/.* No 24,460 0.37
Staging-rtl8192u .*/drivers/staging/rtl8192u/.* No 22,306 0.67
Staging-rtl8712 .*/drivers/staging/rtl8712/.* No 22,953 1.00
Staging-vt6655 .*/drivers/staging/vt6655/.* No 8,203 0.12
Staging-rts5208 .*/drivers/staging/rts5208/.* No 19,647 0.81
Staging-unisys .*/drivers/staging/unisys/.* No 3,017 0.00
Staging-vt6656 .*/drivers/staging/vt6656/.* No 5,498 0.73
Drivers-Staging .*/drivers/staging/.* No 308,666 0.49
Drivers-USB .*/drivers/usb/.* No 321,428 0.35
SCSI-aic7xxx .*/drivers/scsi/aic7xxx/.* No 30,039 0.50
SCSI-be2iscsi .*/drivers/scsi/be2iscsi/.* No 10,809 0.93
SCSI-bfa .*/drivers/scsi/bfa/.* No 42,520 0.68
SCSI-bnx2fc .*/drivers/scsi/bnx2fc/.* No 8,122 1.23
SCSI-csiostor .*/drivers/scsi/csiostor/.* No 12,782 0.86
SCSI-isci .*/drivers/scsi/isci/.* No 13,293 0.75
SCSI-lpfc .*/drivers/scsi/lpfc/.* No 72,042 0.53
SCSI-megaraid .*/drivers/scsi/megaraid/.* No 16,793 0.60
SCSI-mpt2sas .*/drivers/scsi/mpt2sas/.* No 0 N/A
SCSI-mpt3sas .*/drivers/scsi/mpt3sas/.* No 26,562 0.64
SCSI-pm8001 .*/drivers/scsi/pm8001/.* No 13,611 0.73
SCSI-qla2xxx .*/drivers/scsi/qla2xxx/.* No 63,539 0.85
SCSI-qla4xxx .*/drivers/scsi/qla4xxx/.* No 21,832 0.64
Drivers-SCSI .*/drivers/scsi/.* No 290,875 0.56
Drivers-target .*/drivers/target/.* No 45,851 0.68
Drivers-NFC /drivers/nfc/.* No 19,163 0.57
Drivers .*/drivers/.* No 776,116 0.40
Net-802 .*/net/802.*/.* No 4,221 0.71
Net-Bluetooth .*/net/bluetooth/.* No 44,990 0.38
Net-bridge .*/net/bridge/.* No 17,911 0.61
Net-CAIF .*/net/caif/.* No 5,102 1.96
Net-Core .*/net/core/.* No 45,777 0.28
Net-DCCP .*/net/dccp/.* No 7,735 0.78
Net-DECNET .*/net/decnet/.* No 7,936 0.63
Net-ipv4 .*/net/ipv4/.* No 70,637 0.64
Net-ipv6 .*/net/ipv6/.* No 54,308 0.31
Net-IRDA .*/net/irda/.* No 0 N/A
Net-mac80211 .*/net/mac80211/.* No 48,012 0.44
Net-NFC .*/net/nfc/.* No 15,259 0.85
Net-SCTP .*/net/sctp/.* No 28,310 0.60
Net-SunRPC .*/net/sunrpc/.* No 31,644 0.32
Net-sched .*/net/sched/.* No 39,225 0.48
Net-Wireless .*/net/wireless/.* No 32,390 0.15
Net-XFRM .*/net/xfrm/.* No 11,118 0.81
Networking .*/net/.* No 335,303 0.51
Tools /tools/.* No 224,643 2.60
arm64 .*/arch/arm64/.* No 0 N/A
arm .*/arch/arm/.* No 1,264 0.00
Powerpc .*/arch/powerpc/.* No 0 N/A
Other .* No 712,769 0.16

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 115
190 Integer Overflow or Wraparound 294
327 Use of a Broken or Risky Cryptographic Algorithm 6
676 Use of Potentially Dangerous Function 5
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