Coverity Scan: Linux

Project Name Linux
Lines of code analyzed 15,655,920
On Coverity Scan since Feb 24, 2006
Last build analyzed 10 days 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

Nov 25, 2019
Last Analyzed
15,655,920
Lines of Code Analyzed
0.40
Defect Density

Defect changes since previous build dated Nov 18, 2019

0
Newly detected
3
Eliminated

Defects by status for current build

40,713
Total defects
6,305
Outstanding
33,712
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,546 0.44
Block .*/block/.* No 102,693 0.76
Crypto .*/crypto/.* No 157,916 0.62
KVM /virt/kvm/.*|/arch/x86/kvm/.* No 50,451 1.01
Arch-x86 .*/arch/x86/.* No 185,818 0.40
Kernel .*/kernel/.* No 218,644 0.66
Lib .*/lib/.* No 558,911 0.24
MM .*/mm/.* No 82,126 0.73
Sound-line6 .*/sound/usb/line6/.* No 3,747 0.80
Sound .*/sound/.* No 856,536 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,755 0.39
FS-9P .*/fs/9p/.* No 4,634 0.43
FS-AFS .*/fs/afs/.* No 17,030 0.88
FS-BTRFS .*/fs/btrfs.* No 98,003 0.43
FS-CEPH .*/fs/ceph/.* No 20,380 1.03
FS-CIFS .*/fs/cifs/.* No 53,915 1.50
FS-EXTn .*/fs/ext.*/.* No 45,618 0.75
FS-GFS2 .*/fs/gfs2/.* No 21,563 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,334 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,086 0.61
FS-PROC .*/fs/proc/.* No 11,155 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.11
FS .*/fs/.* No 270,071 0.62
Drivers-ATA .*/drivers/ata/.* No 50,522 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,974 0.45
GPU-GMA500 .*/drivers/gpu/drm/gma500/.* No 22,002 0.68
GPU-i915 .*/drivers/gpu/drm/i915/.* No 181,033 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,774 0.51
Drivers-GPU .*/drivers/gpu/.* No 2,045,375 0.17
Drivers-HID .*/drivers/hid/.* No 69,479 0.19
Drivers-i2c .*/drivers/i2c/.* No 42,774 0.12
Drivers-HWMON .*/drivers/hwmon/.* No 111,962 0.10
Drivers-Infiniband .*/drivers/infiniband/.* No 321,079 0.55
Drivers-Input .*/drivers/input/.* No 134,015 0.27
Drivers-IDE .*/drivers/ide/.* No 21,542 0.46
Drivers-IIO .*/drivers/iio/.* No 163,966 0.19
Drivers-ISDN .*/drivers/isdn/.* No 34,962 0.29
Drivers-EDAC .*/drivers/edac/.* No 24,165 0.46
Drivers-Firewire .*/drivers/firewire/.* No 10,990 0.27
Drivers-MD .*/drivers/md/.* No 96,535 0.76
Drivers-MFD .*/drivers/mfd/.* No 76,836 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,482 0.61
Drivers-PCI .*/drivers/pci/.* No 60,089 0.58
Drivers-RTC .*/drivers/rtc/.* No 50,472 0.06
Drivers-TTY .*/drivers/tty/.* No 99,317 0.20
Ethernet-broadcom .*/drivers/net/ethernet/broadcom/.* No 136,152 0.21
Ethernet-DEC .*/drivers/net/ethernet/dec/.* No 14,814 0.34
Ethernet-Chelsio .*/drivers/net/ethernet/chelsio/.* No 71,068 0.42
Ethernet-Emulex .*/drivers/net/ethernet/emulex/.* No 13,173 0.15
Ethernet-Intel .*/drivers/net/ethernet/intel/.* No 187,552 0.16
Ethernet-Mellanox .*/drivers/net/ethernet/mellanox/.* No 145,482 0.30
Ethernet-Neterion .*/drivers/net/ethernet/neterion/.* No 23,790 0.84
Ethernet-QLogic .*/drivers/net/ethernet/qlogic/.* No 109,119 0.41
Ethernet-SFC /drivers/net/ethernet/sfc/.* No 51,642 0.19
Drivers-Ethernet .*/drivers/net/ethernet/.* No 495,881 0.36
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,862 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 696,080 0.42
Drivers-Net .*/drivers/net/.* No 275,860 0.37
Drivers-MMC .*/drivers/mmc/.* No 58,378 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,546 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,017 0.53
Drivers-USB .*/drivers/usb/.* No 326,573 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,421 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,031 0.28
SCSI-qla4xxx .*/drivers/scsi/qla4xxx/.* No 21,822 0.73
Drivers-SCSI .*/drivers/scsi/.* No 297,843 0.53
Drivers-target .*/drivers/target/.* No 45,823 0.48
Drivers-NFC /drivers/nfc/.* No 19,032 0.47
Drivers .*/drivers/.* No 1,006,435 0.32
Net-802 .*/net/802.*/.* No 4,235 0.47
Net-Bluetooth .*/net/bluetooth/.* No 45,301 0.33
Net-bridge .*/net/bridge/.* No 18,850 0.64
Net-CAIF .*/net/caif/.* No 5,080 1.57
Net-Core .*/net/core/.* No 56,105 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 73,045 0.47
Net-ipv6 .*/net/ipv6/.* No 54,025 0.41
Net-IRDA .*/net/irda/.* No 0 N/A
Net-mac80211 .*/net/mac80211/.* No 50,103 0.36
Net-NFC .*/net/nfc/.* No 15,302 0.52
Net-SCTP .*/net/sctp/.* No 28,902 0.55
Net-SunRPC .*/net/sunrpc/.* No 31,769 0.57
Net-sched .*/net/sched/.* No 44,535 0.40
Net-Wireless .*/net/wireless/.* No 34,884 0.14
Net-XFRM .*/net/xfrm/.* No 12,713 0.63
Networking .*/net/.* No 355,348 0.48
Tools /tools/.* No 261,566 2.51
arm64 .*/arch/arm64/.* No 0 N/A
arm .*/arch/arm/.* No 427 0.00
Powerpc .*/arch/powerpc/.* No 0 N/A
Other .* No 585,394 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