Android Kernel Security Above Average, Below Linux
An analysis of Android on an HTC Droid Incredible identified 359 code defects.
Android devices may be viewed with more suspicion than rival smartphones because the more relaxed policing of Android Market apps suggests greater potential risk. But the openness of Android code turns out to be a benefit rather than a liability, at least from a security standpoint.
More Software Insights
- The Critical Importance of High Performance Data Integration for Big Data Analytics
- Mobile DevOps: Achieving continuous delivery with multiple front ends and complex backends in Banking, Financial Services, and Insurance
- Benefits of Application Rationalization: Reduce Costs and Improve Service with a Systematic Approach
- Simplifying Programs for Better Performance and Reinvestment Opportunities in the Public Sector
An analysis of the Android kernel on an HTC Droid Incredible reveals about half as many software defects as expected, according to a report released by software security firm Coverity on Monday.
The Android kernel was found to have 0.47 defects per thousand lines of code, compared to an average of 1 defect per thousand lines of code.
But if Android is twice as good as the industry average, it's half as good as the Linux kernel in terms of defect density. The Android operating system is based upon Linux.
Coverity says this is to be expected given that Android-specific components have been written more recently and newer code tends to have a higher defect density than code that has endured years of static analysis, like the Linux kernel.
Coverity's analysis found 359 defects in the shipping version of Android on an HTC Droid Incredible, 88 of which it classifies as high-risk defects. These flaws include memory corruption bugs, illegal memory access bugs, and resource leaks.
It should be stressed that defects identified in this manner are not necessarily exploitable.
The firm concludes that Android's core platform is sold and that the Android-specific components need further attention to match the standards of Linux.
"We hope that by raising the visibility of the code across the supply chain for Android that the multiple software and device vendors that make Android devices can gain better visibility into the quality of the software components they are using and help hold each other accountable for delivering a high quality end product," Coverity's report says.
Google did not immediately respond to a request for comment.
InformationWeek has published an in-depth report on Oracle's road maps for key Sun products. The report also analyzes what changes the acquisition will bring for business technology decision makers. Download the report here (registration required).