gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 52046 in oss-fuzz: gpsd:FuzzJson: Integer-overflow in safe_ato


From: Gary E. Miller
Subject: Re: Issue 52046 in oss-fuzz: gpsd:FuzzJson: Integer-overflow in safe_atof
Date: Sat, 1 Oct 2022 14:36:50 -0700

Yo ClusterFuzz-External!

safe_atof() was not checking for exponent overflow.  Fixed in git head,
and test cases added.

On Sat, 01 Oct 2022 09:19:37 -0700
ClusterFuzz-External via monorail <monorail+v2.382749006@chromium.org>
wrote:

> Status: New
> Owner: ----
> CC: gpsd-...@nongnu.org, ajsin...@gmail.com, g...@rellim.com 
> Labels: Restrict-View-Commit ClusterFuzz Reproducible
> Stability-UndefinedBehaviorSanitizer Engine-libfuzzer OS-Linux
> Reported-2022-10-01 Proj-gpsd Type: Bug
> 
> New issue 52046 by ClusterFuzz-External: gpsd:FuzzJson:
> Integer-overflow in safe_atof
> https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52046
> 
> Detailed Report: https://oss-fuzz.com/testcase?key=6016532476198912
> 
> Project: gpsd
> Fuzzing Engine: libFuzzer
> Fuzz Target: FuzzJson
> Job Type: libfuzzer_ubsan_gpsd
> Platform Id: linux
> 
> Crash Type: Integer-overflow
> Crash Address: 
> Crash State:
>   safe_atof
>   json_internal_read_object
>   libgps_json_unpack
>   
> Sanitizer: undefined (UBSAN)
> 
> Crash Revision:
> https://oss-fuzz.com/revisions?job=libfuzzer_ubsan_gpsd&revision=202210010601
> 
> Reproducer Testcase:
> https://oss-fuzz.com/download?testcase_id=6016532476198912
> 
> Issue filed automatically.
> 
> See https://google.github.io/oss-fuzz/advanced-topics/reproducing for
> instructions to reproduce this bug locally. When you fix this bug,
> please
>   * mention the fix revision(s).
>   * state whether the bug was a short-lived regression or an old bug
> in any stable releases.
>   * add any other useful information.
> This information can help downstream consumers.
> 
> If you need to contact the OSS-Fuzz team with a question, concern, or
> any other feedback, please file an issue at
> https://github.com/google/oss-fuzz/issues. Comments on individual
> Monorail issues are not monitored.
> 
> This bug is subject to a 90 day disclosure deadline. If 90 days elapse
> without an upstream patch, then the bug report will automatically
> become visible to the public.
> 




RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpWrOofWNZuo.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]