Coverity Scan: Linux

Project Name Linux
Lines of code analyzed 23,408,200
On Coverity Scan since Feb 24, 2006
Last build analyzed 5 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: Version

Dec 17, 2024
Last Analyzed
23,408,200
Lines of Code Analyzed
0.99
Defect Density

Defect changes since previous build dated Dec 09, 2024

14
Newly detected
16
Eliminated

Defects by status for current build

69,155
Total defects
23,251
Outstanding
45,252
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 119,245 0.90
Block .*/block/.* No 100,949 1.65
Crypto .*/crypto/.* No 245,570 0.88
KVM /virt/kvm/.*|/arch/x86/kvm/.* No 69,261 1.16
Arch-x86 .*/arch/x86/.* No 198,491 0.89
Kernel .*/kernel/.* No 311,219 1.16
Lib .*/lib/.* No 692,848 0.45
MM .*/mm/.* No 116,291 1.93
Sound-line6 .*/sound/usb/line6/.* No 3,829 1.31
Sound .*/sound/.* No 1,187,100 1.22
Security-Apparmor .*/security/apparmor/.* No 14,149 0.57
Security-Integrity .*/security/integrity/.* No 9,005 0.33
Security-SMACK .*/security/smack/.* No 5,689 0.70
Security-SELinux .*/security/selinux/.* No 22,527 0.80
Security-Tomoyo .*/security/tomoyo/.* No 8,258 1.21
Security-Yama .*/security/yama/.* No 333 0.00
Security .*/security/.* No 19,153 0.89
FS-9P .*/fs/9p/.* No 4,174 0.72
FS-AFS .*/fs/afs/.* No 18,156 2.42
FS-BTRFS .*/fs/btrfs.* No 72,171 2.00
FS-CEPH .*/fs/ceph/.* No 26,332 2.20
FS-CIFS .*/fs/cifs/.* No 0 N/A
FS-EXTn .*/fs/ext.*/.* No 52,443 1.51
FS-GFS2 .*/fs/gfs2/.* No 23,454 3.28
FS-HFS .*/fs/hfs/.* No 4,547 0.88
FS-HFSPlus .*/fs/hfsplus/.* No 9,296 0.32
FS-JBD .*/fs/jbd.*/.* No 5,610 4.63
FS-JFS .*/fs/jfs/.* No 16,882 3.32
FS-JFFS2 .*/fs/jffs2/.* No 13,522 1.33
FS-NFS .*/fs/nfs/.* No 63,985 1.06
FS-NFSD .*/fs/nfsd/.* No 36,200 0.97
FS-NILFS2 .*/fs/nilfs2/.* No 16,438 0.97
FS-NTFS .*/fs/ntfs/.* No 0 N/A
FS-OCFS2 .*/fs/ocfs2/.* No 67,276 2.59
FS-PROC .*/fs/proc/.* No 12,843 1.95
FS-Reiserfs .*/fs/reiserfs/.* No 0 N/A
FS-UBIFS .*/fs/ubifs/.* No 24,636 1.79
FS-UDF .*/fs/udf/.* No 8,725 1.26
FS-UFS .*/fs/ufs/.* No 5,708 2.80
FS-XFS .*/fs/xfs/.* No 139,095 0.91
FS .*/fs/.* No 443,880 1.16
Drivers-ATA .*/drivers/ata/.* No 59,967 1.42
Drivers-ATM .*/drivers/atm/.* No 23,435 2.65
Drivers-Bluetooth .*/drivers/bluetooth/.* No 32,077 1.22
Drivers-char .*/drivers/char/.* No 54,611 1.81
GPU-GMA500 .*/drivers/gpu/drm/gma500/.* No 16,862 0.65
GPU-i915 .*/drivers/gpu/drm/i915/.* No 180,346 1.44
GPU-Nouveau .*/drivers/gpu/drm/nouveau/.* No 162,472 1.06
GPU-qxl .*/drivers/gpu/drm/qxl/.* No 4,902 2.04
GPU-Radeon .*/drivers/gpu/drm/radeon/.* No 157,604 6.05
Drivers-GPU .*/drivers/gpu/.* No 5,516,708 0.27
Drivers-HID .*/drivers/hid/.* No 94,349 2.85
Drivers-i2c .*/drivers/i2c/.* No 69,392 1.69
Drivers-HWMON .*/drivers/hwmon/.* No 154,626 1.04
Drivers-Infiniband .*/drivers/infiniband/.* No 339,570 1.55
Drivers-Input .*/drivers/input/.* No 150,825 4.20
Drivers-IDE .*/drivers/ide/.* No 0 N/A
Drivers-IIO .*/drivers/iio/.* No 283,035 1.58
Drivers-ISDN .*/drivers/isdn/.* No 31,746 0.95
Drivers-EDAC .*/drivers/edac/.* No 26,793 0.67
Drivers-Firewire .*/drivers/firewire/.* No 13,041 1.61
Drivers-MD .*/drivers/md/.* No 137,109 1.64
Drivers-MFD .*/drivers/mfd/.* No 88,434 0.84
Drivers-Media .*/drivers/media/.* No 1,117,628 0.87
Drivers-Message .*/drivers/message/.* No 24,736 1.82
Drivers-Platform .*/drivers/platform/.* No 132,765 1.57
Drivers-PCI .*/drivers/pci/.* No 89,418 1.72
Drivers-RTC .*/drivers/rtc/.* No 56,882 1.41
Drivers-TTY .*/drivers/tty/.* No 104,118 1.63
Ethernet-broadcom .*/drivers/net/ethernet/broadcom/.* No 156,457 0.72
Ethernet-DEC .*/drivers/net/ethernet/dec/.* No 10,058 0.80
Ethernet-Chelsio .*/drivers/net/ethernet/chelsio/.* No 80,697 0.81
Ethernet-Emulex .*/drivers/net/ethernet/emulex/.* No 13,057 0.92
Ethernet-Intel .*/drivers/net/ethernet/intel/.* No 256,327 0.63
Ethernet-Mellanox .*/drivers/net/ethernet/mellanox/.* No 232,101 0.50
Ethernet-Neterion .*/drivers/net/ethernet/neterion/.* No 7,749 1.03
Ethernet-QLogic .*/drivers/net/ethernet/qlogic/.* No 113,552 0.66
Ethernet-SFC /drivers/net/ethernet/sfc/.* No 97,575 1.25
Drivers-Ethernet .*/drivers/net/ethernet/.* No 779,712 1.01
Drivers-Misc .*/drivers/misc/.* No 76,509 2.40
Drivers-MTD .*/drivers/mtd/.* No 117,823 1.20
WIFI-Atheros .*/drivers/net/wireless/ath/.* No 335,727 0.92
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,555 0.76
Drivers-wireless .*/drivers/net/wireless/.* No 1,102,156 0.72
Drivers-Net .*/drivers/net/.* No 435,556 1.22
Drivers-MMC .*/drivers/mmc/.* No 85,366 1.58
Drivers-SPI .*/drivers/spi/.* No 80,147 1.40
Drivers-UWB .*/drivers/uwb/.*.* No 0 N/A
Drivers-Framebuffer .*/drivers/video/.* No 148,252 0.97
Drivers-Watchdog .*/drivers/watchdog/.* No 35,829 1.03
Drivers-Xen .*/drivers/xen/.* No 24,141 3.52
Staging-comedi .*/drivers/staging/comedi/.* No 0 N/A
Staging-iio .*/drivers/staging/iio/.* No 4,483 1.12
Staging-lustre .*/drivers/staging/lustre/.* No 0 N/A
Staging-media .*/drivers/staging/media/.* No 128,145 0.79
Staging-rtl8188eu .*/drivers/staging/rtl8188eu/.* No 0 N/A
Staging-rtl8192e .*/drivers/staging/rtl8192e/.* No 0 N/A
Staging-rtl8192u .*/drivers/staging/rtl8192u/.* No 0 N/A
Staging-rtl8712 .*/drivers/staging/rtl8712/.* No 0 N/A
Staging-vt6655 .*/drivers/staging/vt6655/.* No 0 N/A
Staging-rts5208 .*/drivers/staging/rts5208/.* No 0 N/A
Staging-unisys .*/drivers/staging/unisys/.* No 0 N/A
Staging-vt6656 .*/drivers/staging/vt6656/.* No 0 N/A
Drivers-Staging .*/drivers/staging/.* No 123,288 1.11
Drivers-USB .*/drivers/usb/.* No 383,988 1.58
SCSI-aic7xxx .*/drivers/scsi/aic7xxx/.* No 30,085 0.60
SCSI-be2iscsi .*/drivers/scsi/be2iscsi/.* No 10,772 1.58
SCSI-bfa .*/drivers/scsi/bfa/.* No 41,840 0.91
SCSI-bnx2fc .*/drivers/scsi/bnx2fc/.* No 8,144 0.86
SCSI-csiostor .*/drivers/scsi/csiostor/.* No 12,793 1.41
SCSI-isci .*/drivers/scsi/isci/.* No 13,222 1.36
SCSI-lpfc .*/drivers/scsi/lpfc/.* No 82,632 4.84
SCSI-megaraid .*/drivers/scsi/megaraid/.* No 18,323 3.11
SCSI-mpt2sas .*/drivers/scsi/mpt2sas/.* No 0 N/A
SCSI-mpt3sas .*/drivers/scsi/mpt3sas/.* No 30,674 2.61
SCSI-pm8001 .*/drivers/scsi/pm8001/.* No 13,571 1.25
SCSI-qla2xxx .*/drivers/scsi/qla2xxx/.* No 73,933 1.19
SCSI-qla4xxx .*/drivers/scsi/qla4xxx/.* No 21,778 2.85
Drivers-SCSI .*/drivers/scsi/.* No 331,705 1.57
Drivers-target .*/drivers/target/.* No 48,328 1.72
Drivers-NFC /drivers/nfc/.* No 19,613 1.33
Drivers .*/drivers/.* No 2,356,038 1.17
Net-802 .*/net/802.*/.* No 4,469 1.57
Net-Bluetooth .*/net/bluetooth/.* No 55,840 0.63
Net-bridge .*/net/bridge/.* No 29,083 0.72
Net-CAIF .*/net/caif/.* No 4,813 1.66
Net-Core .*/net/core/.* No 62,116 0.85
Net-DCCP .*/net/dccp/.* No 7,793 0.64
Net-DECNET .*/net/decnet/.* No 0 N/A
Net-ipv4 .*/net/ipv4/.* No 83,646 1.12
Net-ipv6 .*/net/ipv6/.* No 59,547 1.28
Net-IRDA .*/net/irda/.* No 0 N/A
Net-mac80211 .*/net/mac80211/.* No 63,089 0.86
Net-NFC .*/net/nfc/.* No 15,637 1.41
Net-SCTP .*/net/sctp/.* No 30,126 0.43
Net-SunRPC .*/net/sunrpc/.* No 35,991 1.44
Net-sched .*/net/sched/.* No 47,558 0.99
Net-Wireless .*/net/wireless/.* No 41,737 0.46
Net-XFRM .*/net/xfrm/.* No 15,981 1.13
Networking .*/net/.* No 460,608 1.37
Tools /tools/.* No 345,104 2.77
arm64 .*/arch/arm64/.* No 0 N/A
arm .*/arch/arm/.* No 0 N/A
Powerpc .*/arch/powerpc/.* No 0 N/A
Other .* No 760,843 0.19

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 394
676 Use of Potentially Dangerous Function 11
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