CVE-2010-3067: Integer Overflow

Published Sep 2, 2010
·
Updated

Description of problem: This doesn't look correct, the iosubmit systemcall calls doiosubmit() directly:

SYSCALLDEFINE3(iosubmit, aiocontextt, ctxid, long, nr, struct iocb user user , iocbpp) { return doiosubmit(ctxid, nr, iocbpp, 0); }

doiosubmit only checks if nr < 0, but doesnt check if the accessok multiplication will overflow.

long doiosubmit(aiocontextt ctxid, long nr, struct iocb user user iocbpp, bool compat) { ... if (unlikely(!accessok(VERIFYREAD, iocbpp, (nrsizeof(iocbpp))))) return -EFAULT; ...

Then it uses this loop with getusernocheck(), which doesn't look safe.

... for (i=0; i<nr; i++) { struct iocb user useriocb; struct iocb tmp;

if (unlikely(getuser(useriocb, iocbpp + i))) { ret = -EFAULT; break; } ...

Acknowledgements:

Red Hat would like to thank Tavis Ormandy for reporting this issue.

Other sources

Integer overflow in the doiosubmit function in fs/aio.c in the Linux kernel before 2.6.36-rc4-next-20100915 allows local users to cause a denial of service or possibly have unspecified other impact via crafted use of the iosubmit system call.

Launchpad

Affected Software

20 affected components
debian/linux-2.6
Linux Linux kernel<2.6.36
Linux Linux kernel=2.6.36
Linux Linux kernel=2.6.36-rc1
Linux Linux kernel=2.6.36-rc2
Linux Linux kernel=2.6.36-rc3
openSUSE openSUSE=11.2
openSUSE openSUSE=11.3
SUSE Linux Enterprise Desktop=10-sp3
SUSE Linux Enterprise Real Time Extension=11-sp1
SUSE Linux Enterprise Server=9
SUSE Linux Enterprise Server=10-sp3
SUSE Linux Enterprise Software Development Kit=10-sp3
Debian Debian Linux=5.0
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=9.04
Canonical Ubuntu Linux=9.10
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=10.10

Event History

Sep 2, 2010
Data Sourced
via Red Hat·01:48 AM
DescriptionSeverityAffected Software
Sep 21, 2010
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:51 PM
Description
Sep 19, 2024
Data Sourced
via Ubuntu·10:39 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-3067?

CVE-2010-3067 has been classified with a moderate severity level due to its potential impact on system stability.

2

How do I fix CVE-2010-3067?

To mitigate CVE-2010-3067, upgrade your Linux kernel to version 2.6.36 or later.

3

What software is affected by CVE-2010-3067?

CVE-2010-3067 affects multiple versions of the Linux kernel including 2.6.36 and earlier versions.

4

Is CVE-2010-3067 exploitable remotely?

Exploitation of CVE-2010-3067 is typically local, requiring user privileges to trigger the vulnerability.

5

What are the consequences of CVE-2010-3067?

Exploiting CVE-2010-3067 may lead to system crashes or unstable behavior due to improper handling of I/O operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203