Coverity Scan: Linux

Project Name Linux
Lines of code analyzed 13,458,298
On Coverity Scan since Feb 24, 2006
Last build analyzed 8 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: 4.16.0-rc1

Feb 12, 2018
Last Analyzed
13,458,298
Lines of Code Analyzed
0.43
Defect Density

Defect changes since previous build dated Jan 29, 2018

256
Newly detected
296
Eliminated

Defects by status for current build

37,694
Total defects
5,779
Outstanding
30,647
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 103,930 0.45
Block .*/block/.* No 109,771 0.81
Crypto .*/crypto/.* No 123,573 0.66
KVM /virt/kvm/.*|/arch/x86/kvm/.* No 44,256 1.17
Arch-x86 .*/arch/x86/.* No 167,062 0.45
Kernel .*/kernel/.* No 193,866 0.79
Lib .*/lib/.* No 260,243 0.32
MM .*/mm/.* No 77,138 0.70
Sound-line6 .*/sound/usb/line6/.* No 3,815 0.79
Sound .*/sound/.* No 705,643 0.23
Security-Apparmor .*/security/apparmor/.* No 10,516 0.76
Security-Integrity .*/security/integrity/.* No 5,019 1.59
Security-SMACK .*/security/smack/.* No 5,377 1.30
Security-SELinux .*/security/selinux/.* No 20,327 0.44
Security-Tomoyo .*/security/tomoyo/.* No 8,218 1.70
Security-Yama .*/security/yama/.* No 328 3.05
Security .*/security/.* No 11,194 0.27
FS-9P .*/fs/9p/.* No 4,624 0.65
FS-AFS .*/fs/afs/.* No 10,990 1.18
FS-BTRFS .*/fs/btrfs.* No 95,227 0.54
FS-CEPH .*/fs/ceph/.* No 17,895 0.78
FS-CIFS .*/fs/cifs/.* No 46,646 1.20
FS-EXTn .*/fs/ext.*/.* No 43,605 0.73
FS-GFS2 .*/fs/gfs2/.* No 21,221 0.61
FS-HFS .*/fs/hfs/.* No 4,523 0.66
FS-HFSPlus .*/fs/hfsplus/.* No 9,390 0.53
FS-JBD .*/fs/jbd.*/.* No 5,136 0.97
FS-JFS .*/fs/jfs/.* No 17,743 0.68
FS-JFFS2 .*/fs/jffs2/.* No 13,507 0.67
FS-NFS .*/fs/nfs/.* No 53,938 0.19
FS-NFSD .*/fs/nfsd/.* No 26,800 0.67
FS-NILFS2 .*/fs/nilfs2/.* No 16,215 0.37
FS-NTFS .*/fs/ntfs/.* No 17,243 0.87
FS-OCFS2 .*/fs/ocfs2/.* No 67,285 0.62
FS-PROC .*/fs/proc/.* No 10,602 0.38
FS-Reiserfs .*/fs/reiserfs/.* No 21,525 0.42
FS-UBIFS .*/fs/ubifs/.* No 22,890 0.13
FS-UDF .*/fs/udf/.* No 8,758 0.23
FS-UFS .*/fs/ufs/.* No 5,778 0.87
FS-XFS .*/fs/xfs/.* No 89,817 0.24
FS .*/fs/.* No 248,310 0.55
Drivers-ATA .*/drivers/ata/.* No 50,108 0.34
Drivers-ATM .*/drivers/atm/.* No 31,396 0.48
Drivers-Bluetooth .*/drivers/bluetooth/.* No 17,188 0.17
Drivers-char .*/drivers/char/.* No 49,802 0.52
GPU-GMA500 .*/drivers/gpu/drm/gma500/.* No 22,023 0.77
GPU-i915 .*/drivers/gpu/drm/i915/.* No 140,618 0.65
GPU-Nouveau .*/drivers/gpu/drm/nouveau/.* No 130,453 0.74
GPU-qxl .*/drivers/gpu/drm/qxl/.* No 5,718 0.87
GPU-Radeon .*/drivers/gpu/drm/radeon/.* No 160,414 0.44
Drivers-GPU .*/drivers/gpu/.* No 1,315,969 0.18
Drivers-HID .*/drivers/hid/.* No 61,123 0.11
Drivers-i2c .*/drivers/i2c/.* No 36,776 0.27
Drivers-HWMON .*/drivers/hwmon/.* No 106,720 0.03
Drivers-Infiniband .*/drivers/infiniband/.* No 300,318 0.62
Drivers-Input .*/drivers/input/.* No 126,777 0.23
Drivers-IDE .*/drivers/ide/.* No 21,783 0.50
Drivers-IIO .*/drivers/iio/.* No 136,361 0.27
Drivers-ISDN .*/drivers/isdn/.* No 142,407 0.53
Drivers-EDAC .*/drivers/edac/.* No 23,318 0.60
Drivers-Firewire .*/drivers/firewire/.* No 11,008 0.18
Drivers-MD .*/drivers/md/.* No 89,119 0.68
Drivers-MFD .*/drivers/mfd/.* No 64,221 0.12
Drivers-Media .*/drivers/media/.* No 862,034 0.36
Drivers-Message .*/drivers/message/.* No 24,776 0.81
Drivers-Platform .*/drivers/platform/.* No 53,401 0.64
Drivers-PCI .*/drivers/pci/.* No 38,319 0.57
Drivers-RTC .*/drivers/rtc/.* No 46,880 0.38
Drivers-TTY .*/drivers/tty/.* No 93,274 0.24
Ethernet-broadcom .*/drivers/net/ethernet/broadcom/.* No 129,257 0.17
Ethernet-DEC .*/drivers/net/ethernet/dec/.* No 14,823 0.40
Ethernet-Chelsio .*/drivers/net/ethernet/chelsio/.* No 67,778 0.38
Ethernet-Emulex .*/drivers/net/ethernet/emulex/.* No 13,084 0.08
Ethernet-Intel .*/drivers/net/ethernet/intel/.* No 152,884 0.20
Ethernet-Mellanox .*/drivers/net/ethernet/mellanox/.* No 103,320 0.38
Ethernet-Neterion .*/drivers/net/ethernet/neterion/.* No 23,852 0.92
Ethernet-QLogic .*/drivers/net/ethernet/qlogic/.* No 111,240 0.64
Ethernet-SFC /drivers/net/ethernet/sfc/.* No 50,633 0.22
Drivers-Ethernet .*/drivers/net/ethernet/.* No 387,913 0.41
Drivers-Misc .*/drivers/misc/.* No 72,478 0.81
Drivers-MTD .*/drivers/mtd/.* No 78,885 0.51
WIFI-Atheros .*/drivers/net/wireless/ath/.* No 194,521 0.26
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,485 0.38
Drivers-wireless .*/drivers/net/wireless/.* No 611,791 0.59
Drivers-Net .*/drivers/net/.* No 229,318 0.57
Drivers-MMC .*/drivers/mmc/.* No 53,785 0.43
Drivers-SPI .*/drivers/spi/.* No 42,255 0.66
Drivers-UWB .*/drivers/uwb/.*.* No 7,862 1.53
Drivers-Framebuffer .*/drivers/video/.* No 145,948 0.40
Drivers-Watchdog .*/drivers/watchdog/.* No 29,514 0.41
Drivers-Xen .*/drivers/xen/.* No 13,211 1.21
Staging-comedi .*/drivers/staging/comedi/.* No 70,593 0.11
Staging-iio .*/drivers/staging/iio/.* No 16,111 0.19
Staging-lustre .*/drivers/staging/lustre/.* No 130,564 0.83
Staging-media .*/drivers/staging/media/.* No 99,709 0.43
Staging-rtl8188eu .*/drivers/staging/rtl8188eu/.* No 38,891 0.82
Staging-rtl8192e .*/drivers/staging/rtl8192e/.* No 24,452 0.41
Staging-rtl8192u .*/drivers/staging/rtl8192u/.* No 23,564 0.68
Staging-rtl8712 .*/drivers/staging/rtl8712/.* No 22,952 1.00
Staging-vt6655 .*/drivers/staging/vt6655/.* No 8,147 0.12
Staging-rts5208 .*/drivers/staging/rts5208/.* No 20,917 0.76
Staging-unisys .*/drivers/staging/unisys/.* No 3,010 0.00
Staging-vt6656 .*/drivers/staging/vt6656/.* No 5,501 0.73
Drivers-Staging .*/drivers/staging/.* No 356,939 0.51
Drivers-USB .*/drivers/usb/.* No 312,103 0.35
SCSI-aic7xxx .*/drivers/scsi/aic7xxx/.* No 30,036 0.53
SCSI-be2iscsi .*/drivers/scsi/be2iscsi/.* No 10,801 0.93
SCSI-bfa .*/drivers/scsi/bfa/.* No 42,521 0.68
SCSI-bnx2fc .*/drivers/scsi/bnx2fc/.* No 8,119 1.23
SCSI-csiostor .*/drivers/scsi/csiostor/.* No 12,418 0.89
SCSI-isci .*/drivers/scsi/isci/.* No 13,294 0.83
SCSI-lpfc .*/drivers/scsi/lpfc/.* No 70,726 0.48
SCSI-megaraid .*/drivers/scsi/megaraid/.* No 16,716 0.60
SCSI-mpt2sas .*/drivers/scsi/mpt2sas/.* No 0 N/A
SCSI-mpt3sas .*/drivers/scsi/mpt3sas/.* No 25,912 0.58
SCSI-pm8001 .*/drivers/scsi/pm8001/.* No 13,609 0.73
SCSI-qla2xxx .*/drivers/scsi/qla2xxx/.* No 62,892 0.91
SCSI-qla4xxx .*/drivers/scsi/qla4xxx/.* No 21,798 0.60
Drivers-SCSI .*/drivers/scsi/.* No 291,252 0.59
Drivers-target .*/drivers/target/.* No 45,620 0.70
Drivers-NFC /drivers/nfc/.* No 19,084 0.63
Drivers .*/drivers/.* No 697,580 0.46
Net-802 .*/net/802.*/.* No 4,188 0.72
Net-Bluetooth .*/net/bluetooth/.* No 43,655 0.34
Net-bridge .*/net/bridge/.* No 17,683 0.57
Net-CAIF .*/net/caif/.* No 5,092 1.96
Net-Core .*/net/core/.* No 41,011 0.39
Net-DCCP .*/net/dccp/.* No 7,707 0.78
Net-DECNET .*/net/decnet/.* No 7,967 0.63
Net-ipv4 .*/net/ipv4/.* No 70,488 0.52
Net-ipv6 .*/net/ipv6/.* No 54,101 0.28
Net-IRDA .*/net/irda/.* No 0 N/A
Net-mac80211 .*/net/mac80211/.* No 47,024 0.66
Net-NFC .*/net/nfc/.* No 15,249 0.85
Net-SCTP .*/net/sctp/.* No 27,816 0.61
Net-SunRPC .*/net/sunrpc/.* No 31,523 0.32
Net-sched .*/net/sched/.* No 34,053 0.41
Net-Wireless .*/net/wireless/.* No 31,430 0.22
Net-XFRM .*/net/xfrm/.* No 10,247 0.68
Networking .*/net/.* No 318,541 0.53
Tools /tools/.* No 219,709 0.19
Other .* No 677,929 0.14

CWE Top 25 defects

ID CWE-Name Number of Defects
120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 51
190 Integer Overflow or Wraparound 88
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